AutoRun (AutoPost) plug-in properties
The Winshuttle AutoRun plug-in (formerly called AutoPost) is used exclusively in Microsoft Excel-based Studio solutions that use a custom workflow built in Winshuttle Composer.
This plug-in allows you to automatically run a routed data file to a specified SAP system using Winshuttle SAPIS (SAP Integration Server) instead of the Runner’s desktop PC.
On this page
Configuring the AutoRun plug-in
- Decide when you would like to perform the AutoRun step in your workflow.
- Place a plugin node on the canvas. Note that placement does not necessarily have to be within a particular swim lane. See the value pair runnernode in the AutoRun plugin parameters table (below) for more information on node placement.
- In the Plug-In Name field, select Winshuttle AutoRun, and then set the Synchronous field to False.
- In the Properties Pane, next to Plugin Parameters, click the options button to configure the value pairs described in the AutoRun plugin parameters table (below).
Note: Setting Synchronous to false pauses the workflow until the Autorun job is completed.
AutoRun plugin parameters table
Value Pair |
Description |
retries |
If an error occurs during AutoRun, this parameter will define the number of retries to be made. |
retryminutes |
This parameter defines the number of minutes between retries. |
The runner node can be configured in 1 of 2 ways:
|
|
scriptname | Enter the name of the specific script you want to run with an Excel-based workflow. For example abc.txr |
validate |
(Yes/No) Whether or not to validate prior to posting. |
The AutoRun plugin will automatically use a Runner’s credentials (designated by placement in the canvas or the runnernode value) from Winshuttle User Governance.
Notes:
Credentials for all potential Runners must be configured prior to using this plugin. See Managing Credentials for more information.
If no specific node is specified in the runnernode parameter and no other activities or approvals exist in the same swimlane, the Autopost plugin will use Workflow Administrator (WFAdmin) account, which requires a Winshuttle User Governancelicense and must be assigned access in SAP.
Checking AutoRun Job status
You can check the status of running jobs on the Winshuttle Foundation Manage Scheduled Jobs page. The following messages can also be found in the listed metadata for the jobs:
Error returned |
Metadata |
SAP posting |
ErrorRows and TotalRows |
Winshuttle SERVER |
Data Post Status |
An error occurred in CENTRAL or in Winshuttle SERVER |
Data Post Status |
Validation Failed: Validation failed for Central policies, licenses, roles, or SAP credentials |
Approval error |
The metadata errors in the table above can be referenced in your workflow as well to determine if the workflow can end after the AutoRun is complete, or whether further intervention may be required.
Example (Reference the workflow images below): Place the AutoRun plugin in a loop. If the ErrorRows metadata shows 0 after the run, the loop finishes and the workflow continues. If ErrorRows is anything other than 0, the file will route to the SAP Team for correction and resubmission to AutoRun again. This would repeat until errors reach 0.