Skip to Content

In the new SAP Release we have got some flexibility to change Priority of workitem dynamically. First we need to create a container element as shown

Capture1.PNG

Then go to the relevant dialog step where you need to change the priority.

Capture2.PNG

Then add the container element we just created and the one we will update the priority

Capture3.PNG

Create a loop step such that the decision task will loop until priority is 1.

Capture4.PNG

Reduce the priority inside the loop when the loop condition fails

Capture5.PNG

Initialise the Priority with 5 which is default workflow priority before the activity step and before the loop step

Capture6.PNG

Here is the design

Capture7.PNG

Execute

Capture8.PNG

The priority is 5.

Priority 5.PNG

After execution of the dialog step next priority is 4

Priority 4.PNG

Here is the workflow Log

Workflow container.PNG

Thanks

Arghadip

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply