Resume Paused Orchestration Processes
You must resume the orchestration process that your pause task paused.
Use a scheduled process or a web service to release a pause task so your orchestration process can automatically resume processing sales orders, depending on how you set sacType.
Value of sacType |
Description |
---|---|
SAC_TYPE_TIMER or SAC_SYSTEM_EVENT_IPC_PAUSE |
Let the condition evaluate and release the process, or use one of the set ups described in this topic. |
SAC_TYPE_EVENT |
You must use one of the set ups described in this topic. |
Use a Scheduled Process to Automatically Release a Pause Task
-
Get these privileges.
Privilege Name
Privilege Code
Release Paused Orchestration Order Tasks
DOO_RELEASE_PAUSED_EVENT_TASKS_PRIV
Manage Orchestration Order Modification
DOO_MANAGE_ORCHESTRATION_ORDER_MODIFICATION_PRIV
You need these privileges to run the Release Pause Tasks scheduled process. For details, see Privileges That You Need to Implement Order Management.
- Sign into Oracle applications.
-
Go to the Scheduled Processes work area.
-
On the Scheduled Processes page, click Schedule New Process.
-
In the Schedule New Process dialog, set the value, and then click OK.
Attribute
Value
Name
This scheduled process releases a pause task that's waiting for a business event to finish.
-
Use one of the parameters to specify the orchestration process you must resume, such as Item, Customer, Task Name, and so on.
For example, if you set up a pause task on an orchestration process that's waiting for the Gold Preorders event, then set the event parameter to Gold Preorders.
You can also set the Manual Release Type parameter.
Value
Description
Tasks That Exceed Maximum Retries
Use this value for most situations.
Tasks That Can't Establish Wait
Release a pause task that fails to release because of some problem that's internal to Order Management. Set this value only in consultation with Oracle Support.
-
Click Submit.
Examine an example that uses this scheduled process. For details, see Pause Orchestration Processes for Events.
Manually Release a Pause Task
-
Make sure you have the privileges that you need to recover errors. For details, see the Order Orchestration Error Recovery Manager chapter in Security Reference for Order Management.
-
Go to the Order Management work area, then navigate to the Orchestration Process page.
-
Click Release Pause Task.
For details, see Resume Paused Sales Orders.
Use a Web Service to Automatically Release the Pause Task
You can use the ReleasePausedTasks operation of the Receive Order Request Service to release a pause task.
Here's your WSDL.
https://server.port/soa-infra/services/default/DooDecompReceiveOrderExternalComposite/ReceiveOrderRequestService?WSDL
You can use some of the same parameters that you use with the Release Pause Tasks scheduled process.
-
BuyingPartyName
-
BuyingPartyNumber
-
EventName
-
FromOrderDate
-
FromPauseWaitUntilDate
-
FromScheduledShipDate
-
FulfillLineNumber
-
FulfillmentOrganizationCode
-
FulfillmentOrganizationName
-
FulfillOrgId
-
InventoryItemId
-
LineNumber
-
ManualReleaseType
-
ManualReleaseTypeName
-
OrderNumber
-
PausedTaskName
-
PauseTaskId
-
ProductNumber
-
SoldToCustomerId
-
SourceOrderNumber
-
SourceOrderSystem
-
TaskInstanceId
-
ToOrderDate
-
ToPauseWaitUntilDate
-
ToScheduledShipDate
Here's an example payload that releases pauses where the name of the pause task is PauseAfterReservation1. Look at the step in your orchestration process definition that has the pause task to determine the name of the pause task that you need to release.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dood="http://xmlns.oracle.com/apps/scm/doo/decomposition/receiveTransform/receiveSalesOrder/DooDecompReceiveOrderExternalComposite">
<soapenv:Header/>
<soapenv:Body>
<dood:ReleasePausedEventTasksRequest>
<dood:SourceSystem>OPS</dood:SourceSystem>
<dood:PausedTaskName>PauseAfterReservation1</dood:PausedTaskName>
</dood:ReleasePausedEventTasksRequest>
</soapenv:Body>
</soapenv:Envelope>
You can release a pause for a single order line. Here's a payload that releases the pause task on order line 1 of sales order 506608.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dood="http://xmlns.oracle.com/apps/scm/doo/decomposition/receiveTransform/receiveSalesOrder/DooDecompReceiveOrderExternalComposite">
<soapenv:Header/>
<soapenv:Body>
<dood:ReleasePausedEventTasksRequest>
<dood:SourceSystem>OPS</dood:SourceSystem>
<dood:OrderNumber>506608</dood:OrderNumber>
<dood:LineNumber>1</dood:LineNumber>
</dood:ReleasePausedEventTasksRequest>
</soapenv:Body>
</soapenv:Envelope>