|
Automation ObjectReturns a ScriptableAutomation object encapsulating the properties of the PlanetPress Workflow process that triggered the current operation. PropertiesThe following table lists the properties of the Automation object.
ExampleThe variable used from Workflow must first be declared in the Preprocessor step:
See The Preprocessor Step Properties for more information. The Type of the variable must be the same as the variable from Workflow.
Accessing Automation PropertiesTo access JobInfo 1 to 9 from Workflow: automation.jobInfo.JobInfo1; To access ProcessName, OriginalFilename or TaskIndex from Workflow: automation.properties.OriginalFilename; To access variables declared in the Preprocessor properties (see picture above): automation.variables.Same_as_workflow; |
|