The ActivitySkip action is a System Action that explicitly forces a Human Activity instance to be skipped, that is, as if it was skipped by the end-user in the Taskbox. Use this System action to automatically skip a Human Activity task in the Taskbox when you know there's no need for the end-user to do it anymore. Alternatively, you may close Human Activity instances using the ActivityClose action.
To skip a Human Activity in a screen action proceed as follows:
ActivityId: Id of the activity instance.
Activity Identifier Type. Mandatory.
NextHumanActivityId: Id of the following Human Activity instance. If, in the process flow, there's another Human Activity following the skipped Human Activity and the end-user role allows opening it, then its identifier is returned in this output parameter. This is useful because it allows you to automatically open the next Human Activity when you skip the current one. Learn more about the ActivityOpen Action.
Activity Identifier Type.
The On Skip activity callback action is executed.
The On Skip activity callback action is invoked using a different transaction and session from the transaction and session used when invoking the ActivitySkip. Only the Session.UserId is transported.
You may also close Wait activities. However, this implies advanced knowledge about the Platform as it is not trivial to supply the Wait activity identifier to Web Screens and Screen Actions. You have to design an alternative way such as, for example, passing the Wait activity identifier through the database or through Web Services.
About Processes | Process Activities Callback Actions | Overview of System Actions and Functions