Associate a Workflow with an Activity

You can associate a workflow with an activity in two ways:
  • Using API: The Oracle Field Service REST API supports the Activity workflow field within the POST activities and PATCH activities requests. For more information on how to use APIs for workflows, see the REST API for Oracle Field Service guide.
  • Based on workflow conditions: Oracle Field Service calculates the activity workflows dynamically based on the workflow conditions you have created. This calculation works for only those activities in the Pending and En route status, where the workflows aren’t specified using APIs. When a resource changes the activity status from Pending or En route, the application associates the workflow with the activity, saves the workflow label into the Activity workflow field and stops recalculation. Dynamic calculation works the same even when a workflow step is configured with default values and when the workflow is empty. You cannot change the workflow after a resource starts the activity.