Waiting for a Signal to Continue

Send users a page link, wait for their response, and continue the workflow from application logic.

Your workflow can notify a user with a Send E-Mail or Send Push Notification activity. Either can include a link in the message. By clicking or tapping the link, the recipient navigates to the page to provide their input. After notifying the user, the next step in the flow can be a Wait activity with no Timeout Type set. This causes the workflow instance to wait indefinitely until some code calls CONTINUE_ACTIVITY in the APEX_WORKFLOW package to tell the workflow to move on. When invoking this method to continue a workflow activity that’s currently waiting, you need to pass in:

When continuing a waiting activity, you can also optionally pass a list of name/value pairs. If any of the names in this list match the names of workflow variables, their values get assigned automatically to the corresponding value you return.