Add output parameter to Import Solution task corresponding to outcome #1227
parvezghumra
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Would you be willing to share what custom logic you implemented for this? Running into the same issue |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Power Platform Build Tools Version: 2.0.96
PAC CLI Version: 1.44.2
Setting the value of the
Skip Lower Version
parameter on theImport Solution
task totrue
enables the operation to be potentially skipped if the same or higher version of the inbound solution already exists in the target environment. However, if the solution import step is skipped in this scenario the step still reports a successful outcome and there's no further outputs from the task to determine whether the solution was actually imported or not.Adding such an output parameter, or making the status of the step's execution reflect the actual outcome of the operation (succeeded/failed/skipped) would be helpful in programmatically determining the necessary behaviour for subsequent steps. In particular, this is necessary when the
Import Solution
task is configured to import a holding solution, which would necessitate a correspondingApply Upgrade
step later.Currently the only way to determine the actual outcome of executing such
Import Solution
steps with theSkip Lower Version
parameter set totrue
is by building custom logic.Beta Was this translation helpful? Give feedback.
All reactions