Finish Assignment from Activity

Hi all,

I am unable to Refresh the current screen if i include OOTB activity FinishAssignment call from an activity. Before this activity call i am setting the Param.TaskStatus to the flow action which i want to be executed.

At the backend the assignment is moved forward. If i do reload of the screen manually then the updated assignment is displayed.

Thanks in Advance.

How are you triggering the activity? Is this from a button, and if so which Action are you using? If you are using “Run Activity”, then what you are seeing is understandable.

Is there some reason that you cannot use the OOTB “Finish Assignment” action of the button?

Have you tried using “Refresh Harness” with the activity to be run named within the refresh?

If you need further help, then please provide more details about your configuration.

Thank You for your time.

Below is my requirement.

My action button is on header and in work area we can have local action or flow action be opened.

So if i include OOTB finish Assignment action on click of buton, it is taking the currrent local/flow action but my requirement is to execute the flow action every time.

So, i am calling OOTB FinishAssignment Activity by passing my flow action name to param.TaskStatus dynamically .

So your objective is really to switch to a different flow. Have you tried using a ticket? That would let you jump to a separate branch that is not part of the normal flow. The branch can end by itself, or could rejoin the main flow at a place you desire.

Check out this document.

Be aware that tickets are only effective for flows that are already running - either another part of the same flow, or a parent flow. A ticket will not start a new flow.