25.1.9.2 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:
- The unique ID of the workflow instance
- The unique Static ID of the activity to continue (typically a Wait activity)
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.
- Enabling Deep Linking to a Specific Page
Enable Deep Linking so notification links can open a specific application page. - Generating Page URL for Notification
Generate an absolute page URL for email or push notification links. - Emailing User a Page Link
Email a user an absolute page link generated from workflow activity data. - Delivering Push Notification with Page Link
Send a push notification with an absolute page link generated from workflow activity data. - Waiting Until Application Logic Continues
Pause a workflow with a Wait activity until application logic continues it. - Navigating to Page Using Email Link
Open a notification link to enter requested data on a deep-linked page. - Retrieving Title and Activity Labels
Retrieve workflow and activity labels to show context on the data entry page. - Signaling to Continue and Returning Data
Continue a waiting workflow activity and return submitted values to workflow variables. - Inspecting Resulting Workflow Instance
Inspect workflow variables and diagram progress after a waiting activity continues. - Evaluating Benefits of Using Tasks Instead
Consider using tasks when user input needs tracking, reminders, and a task inbox.
Parent topic: Getting Approval or User Input in a Workflow