Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Winshuttle Update plugin properties

The Winshuttle Update plugin allows you to add a Winshuttle Web service to a workflow. By using this plugin, you can dynamically perform SAP data operations within the workflow.

The Winshuttle Update plugin also supports repeating Web services.

On this page

When a form uses web services through a button click, or through On Field Change or On Form Load, the logged in user's credentials are used for running the web service. This user must have a valid license, and the appropriate rights and SAP credentials defined in Winshuttle Central.

The Winshuttle Update plugin uses the credentials under which SVService is running. The SVService admin must have a valid license, and the appropriate rights and SAP credentials defined in Winshuttle Central / User Governance.

Winshuttle Update plugin usage example

Back to top

The Winshuttle Update plugin can be useful if your Master Data team prefers to dynamically (i.e. not manually) push data to SAP after an approval is completed.

How to configure the Winshuttle Update plugin

Back to top

  1. In Composer, click the Solution Tab.
  2. Add a Transaction or Query script to your solution. See Importing a Web service or script if you need assistance importing scripts into a solution.
  3. Click the Form tab.
  4. Add a Web Service Element to your form. See Adding Elements to a form if you need assistance with adding an element.
  5. Set the parameters for the plugin that you require. See the Winshuttle Update Parameters Table (below) for a description of available settings.
    Winshuttle Update Parameters screenshot

Winshuttle Update plugin tips and best practices

Back to top

  • If there are multiple Winshuttle Update plugins, set the Plugin Node property SYNC to False. If Sync it set to True, both plugins would run during the same 5 minute window of SVservice. If Sync is set to false, the plugin will wait to start the second one until after the first one is completed.

Winshuttle Update parameters

Back to top

Property

Description

WebserviceName The name of the Web Service to run.
StatusField Select the field to which to log the script for the selected Web Service.
WaitDuration [Optional]. WaitDuration is the number of hours to wait for a response from the server.
Runnernode

Note: This option is available for the Winshuttle Update plugin beginning with Composer v11.4.

The runner node can be configured in 1 of 2 ways: 

  • Select a specific node: In the Properties Pane next to RunnerNode, click the options button. On the Edit Runnernode screen, then click Node to select a specific activity or approval node in the workflow.

    The person assigned to the selected node will be used as the runner. If there are multiple users in the selected node (such as multiple approvers, for example), then the most recent user to have completed the activity (the most recent approver, for example) will be used.
    Edit Winshuttle Update Runner Node screenshot
  • Blank: If the Runnernode setting is left blank, the plugin will use the user from the nearest activity (such as an Approval node) in the swimlane in which the Winshuttle Update plugin is located. If this would result in multiple users, then the most recent user from the list of users will be used.

Winshuttle Update plugin processing

When a Winshuttle Update plugin is processed, the Workflow engine must use an account to connect to SAP. This account will show as the modifier or creator of any records in SAP altered by the web service.

By default, in 11.4.0 the Workflow engine will first check for an account in the following places and order:

  1. The web service system account specified in the solution deployment profile.
  2. The last user on the form.
  3. The users the swimlane resolves to that contains the Winshuttle Update plugin.
  4. A specified account in the mapping for the web service.
  5. Finally, a fail over to the Workflow Administration (SharePoint Impersonation) account.

To work with legacy workflows, in versions after 11.4.0, the default order is:

  1. The web service system account specified in the solution deployment profile.
  2. A specified account in the mapping for the web service.
  3. The Workflow Administration (SharePoint Impersonation) account.

The priority order can be changed by using the WinshuttleUpdateLegacyOperation key.