Changing the status of flow steps in the business process flow of a model-driven application from ‘Processing’ to ‘Successful’.

Notes on how to change the state of a step from ‘processing’ to ‘successful’ when executing a flow step of a business process flow in a model-driven application.

スポンサーリンク

Flow steps in business process flows

Flow Step in Business Process Flow is the ability to incorporate the execution of Power Automate as a step in the stages of a business process flow.

The status of the flow step does not change from ‘Processing’.

With a business process flow containing the flow steps as shown in the image,
when the Power Automate to be executed in this flow step is such an implementation,
perform flow steps,

flow succeeds, though,
the status of the business process flow remains ‘in process’.

This ‘processing in progress’ status should be changed to a status such as ‘completed’ or ‘successful’.

Solution: update the Dataverse table ‘Process Log’.

Add an action ‘Update row’ at the end of the flow and specify [ID] in the ‘Flow workflow log ID’ that can be retrieved from the trigger against the table ‘Process log’ and set the [Status] to ‘Successful’.
Then run the flow step again, with a successful flow,
the status of the business process flow changes to ‘successful’.
There are various statuses other than ‘successful’, so the statuses around here can be updated depending on the behaviour of the flow.

Related articles

コメント

Copied title and URL