Create a fulfillment action
POST {{baseUrl}}/workflow_actions/fulfillment_actions
Create a fulfillment action. The following supporting objects will need to be created after this action is created (which are tied together via workflowactionid) - workflowactionperformers, workflowactionroles, workflowactionperformernotificationemail. These supporting objects must be created for this action to be complete (APIs for these supporting objects not yet implemented, use UI).
Request Body
{"workflow_action"=>{"workflow_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "description"=>"Have another user or group provide information for the profile.", "page_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "archived"=>false, "requires_comment"=>false}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"workflow_action":{"workflow_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","description":"Require approval from another user or a group of users with a specific role.","page_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","add_requester_as_owner":true,"email_attribute_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","email_addresses":["johndoe@gmail.com","janedoe@gmail.com"],"new_status":"Active, Inactive, On Leave, Terminated","archived":false,"skippable":false,"requires_comment":false}}