In the Integrate with WebCenter task (new since Automation Engine 14.0) > Start/Stop Approval action, you can select a Document "by Version ID" or "by Document ID". How to find these IDs and use them as SmartNames?
Procedure
In a workflow, if you first use the Integrate with WebCenter task and the action Upload Document or Get Document History, you will see the prompted IDs in the output XML file.
For example, you will see the following in the output XML file:
<docversionid>00002_0000005690</docversionid>
or
<docID>00002_0000005661</docID>
Using XML values as SmartNames
To use the values in the output XML as SmartNames, you need to Map Output Parameters to make them available as Workflow Parameter SmartNames:
Open the ticket (Integrate with WebCenter task, Action Upload Document, Get Document History, etc.).
Click the Advanced Options () button. Then click Map Output Parameters....
The available Output Parameters for the ticket are displayed. Double-click a Parameter to map to an existing Workflow Parameter, or create a new one.
After you run the task, right-click the output pin. Then right-click the XML file.
In the Workflow Parameter Values, you should see the Workflow Parameter is updated with the output value of the XML file.
You can now use these Workflow Parameter SmartNames in your Integrate with WebCenter task (Action Start/Stop Approval).