I need create expression which gives me back value true or false depends on the success or fail of previous step. Anyone knows how to create it?
Solved! Go to Solution.
@Anonymous
In Power Automate, to catch any action's failures, time out, success, skipped, we need to use this approach.
There is no other approach as far as I know.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
@Anonymous
Need more details of your previous step.
See if Condition action in the flow is helpful.
If not, please provide additional details of your flow.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
@Anonymous
As mentioned by @rsaikrishna, more information would be helpful.
If you truly mean on the success or failure of the previous step, take a look at the Runa after settings. You can configure an action to run only if the preceding action succeeded or failed. Here is a link for more info.
I use create new item on the sharepoint list. I want to recieve boolean variable when this step fails.
@Anonymous
Here you can use Exception handling concept to handle the failures.
Created following sample:
Here are the steps:
Step1: Created a boolean variable varCreateItemFailedStatus and set its value to false.
Step2: Create Item action to create item in the SharePoint list.
Step3: Set variable value for varCreateItemFailedStatus to true. This is very important step. Click on 3 dots next to Set Variable action and click on "Configure run after". Select "has failed" for Create Item action as shown below picture:
Step4: Placed a condition and checking varCreateItemFailedStatus is equal to true. Again, for this action also, click on 3 dots and click on Configure run after option. Select all the 4 options as shown below picture:
I hope this will be helpful.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
I know this method. I just wanted one expression which uses data from step before. If it's not possible then thank you for help 🙂 I already use solution like that.
@Anonymous
In Power Automate, to catch any action's failures, time out, success, skipped, we need to use this approach.
There is no other approach as far as I know.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
I'm looking for part which is like in http request:
{
"status":"success",
"content":"xxxx"
}
Do you understand what I mean? 🙂
@Anonymous
I understood. HTTP action completes whether the REST api end point action is successful or failed.
You can check Status code value for HTTP action. If it is 200, then it is Passed. If it is different code, it can be marked as failed.
Regards
Krishna Rachakonda
If this reply helped you to solve the issue, please mark the post as Accepted Solution. Marking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone. |
I really appreciate the step by step.
User | Count |
---|---|
97 | |
40 | |
27 | |
23 | |
16 |
User | Count |
---|---|
130 | |
51 | |
48 | |
36 | |
24 |