Launch Orchestrations on Business Process Status Changes
- On the Workday Developer Site, create an Extend app.
- In your Workday tenant, create a business process.
You can configure a business process to automatically launch an orchestration when a user takes one of these actions:
- Cancel
- Rescind
- Correct
- Deny
Hire
business process performs steps in Workday, then launches an orchestration to integrate with an external system that handles access provisioning. If the hire is rescinded, the business process launches a different orchestration that integrates with the external system to revoke the provisioned access.These orchestrations must be based on the Workday Business Process template.
- On the Workday Developer Site, add an orchestration based on the Workday Business Process template to your Extend app.If your orchestration makes API calls, it must use ISU authentication.
- On the orchestration'sBusiness Process Triggerstep, configure input parameters to define the values the orchestration can receive from the business process.
- Add the steps that you want the orchestration to perform when the business process that calls it is canceled, rescinded, corrected, or denied.
- Deploy the application containing the orchestration to your tenant.
- In Workday, access theEdit Tenant Setup - Business Processestask. In theUser to Perform Orchestration Launchesfield, specify an individual with the appropriate permissions to access fields and perform actions required by the orchestration.
- In Workday, from the related actions menu of the business process, select .
- In theConfigure Orchestrationstask, clickAddto begin pairing the business process status change with the orchestration.
- In theActionfield, select the business process status change that launches the orchestration,Cancel,Rescind,Correct, orDeny.
- In theOrchestrationfield, selectCreate Orchestration Launch Configuration.Workday doesn't create orchestration launch configurations automatically. Your orchestration might have successfully deployed to the tenant, but you can't select it here until you create a launch configuration.
- In theCreate Orchestration Launch Configurationtask, provide a uniqueNamefor the configuration and select theOrchestrationthat you deployed.
- In theConfigurable Parameterssection, Workday displays the input parameters you configured on the orchestration'sBusiness Process Triggerstep. Configure the values that you would like the business process to pass to the orchestration.
- Back in theConfigure Orchestrationstask, you can now select the orchestration launch configuration you created.You can additional pairings of business process status change and orchestration launch to cover other actions.
- (Optional) Click the newCreate Condition Rulebutton to define a new rule directly within the grid.Workday evaluates these condition rules before it initiates an orchestration.
- (Optional) To view the status of an orchestration associated business process, use theFind Eventstask. Workday displays the orchestration's status on theOrchestrationstab.A business process-triggered orchestration is typically launched by the Workday scheduler within 15 minutes. There might be a longer delay in Mass Cancel or Mass Rescind scenarios.The time taken for the orchestration status to change fromIn ProgresstoCompletedis solely dependent on the orchestration's processing.
- (Optional) When the orchestration's status changes fromQueued for LaunchtoIn Progress, aRelaunchoption becomes available on theEvent Canceled,Event Rescinded,Event Corrected, orEvent Deniedpage. Click it to access theRelaunch Orchestrationtask, where you can adjust launch parameters, if necessary, before relaunch. When you relaunch an orchestration, Workday executes the workflow without re-evaluating the condition rules.The action page displaysCompletedstatus for the orchestration only if the initiating user has View permission for the event.