The Automate Update plug-in (previously Precisely Update plug-in), allows you to interact with SAP using Transaction or Query scripts (like, a web-service) which are imported into the Form solution. It allows you to dynamically perform SAP data operations within the workflow. It also supports repeating web services.
Starting from version 20.3, we have added a guardrail to limit the number of retries done to submit Query output from Web/Service Worker to the Evolve system. Maximum six retries are allowed to send the Query output to Evolve. The first three retries will be done in the interval of approximately 5 minutes and the next three retries will be done according to the value defined in retry interval variables.
The user returned by the runnernode parameter is used:
-
To get the credentials to log in to SAP, unless the webservice is configured with the System Account.
-
To validate the appropriate license, even if the webservice is configured with the System Account.
In SAML/OAuth Authentication for SAP Trust and SAML EIS configuration:
If the System Account option is used to execute a webservice and the user has never logged into Evovle, webservice will fail to execute with an error.
Properties
|
Name |
Description |
Mandatory |
Group Name | Modes |
|---|---|---|---|---|
|
webservicename |
The name of the Web Service to run. |
Yes |
Web Service | NA |
|
runnernode |
The runner node can be configured in one of two ways:
|
No |
Web Service | NA |
On the Processes page, under Process History, the Update plug-in status options are as follows:
|
Status |
Description |
|---|---|
|
Scheduled |
The job has been created in the background and is ready to be picked up. Runner <Runner Name> |
|
InProgress |
The system picked up the job and execution has started. |
|
Enqueued |
The job is queued for posting. |
|
Preprocessing |
The job has been picked by the worker for processing. Worker: <name of worker> |
|
Posting |
The processing has started. |
|
Post-Processing |
The document is being updated after having been posted. |
|
Finished |
The job execution has completed. |
Example
The Update plug-in is useful if your Master Data team prefers to interact with SAP in the background (not manually) after an approval is completed.
Tips and best practices
If there are multiple Update plug-ins, set the plug-in node property “Continue Without Waiting” to False. If “Continue without waiting” is set to True, the plug-ins could run together and impact the result. If the “Continue without waiting” property is set to False, the second plug-in process will start only after the first one has completed.
When the Precisely Update plug-in is configured to run using the Swimlane or RunnerNode and it resolves to an external user, then license will be checked for an external user. This blocks the webservice execution. As a workaround, configure the plug-in to resolve to an internal user.
Retries implementation
Starting from version 20.3, we have added a guardrail to limit the number of retries done to submit Query output from Web/Service Worker to the Evolve system. Maximum six retries are allowed to send the Query output to Evolve. The first three retries will be done in the interval of approximately 5 minutes and the next three retries will be done according to the value defined in retry interval variables. The value defined in retries interval is in hours (Example 24 (1 days), 48 (2 days)).Add additional three retry key in SystemConfiguration table as follows
|
Category |
ConfigKey |
ConfigValue (default) |
|---|---|---|
|
WorkerConfig |
RetryInternalFourth |
24 |
|
WorkerConfig |
RetryInternalFifth |
24 |
|
WorkerConfig |
RetryInternalSixth |
24 |
You can modify the default value by adding above key on System > Infrastructure > Advance Key. If this key does not exist in Advance Key then default interval corresponding to the key will be applied.
If all six retries fails to send the Query output, then the “CurrentState” will be marked to MaxRetryFinished.
You can see the Worker service update document retries completed status in Job history as mentioned above, and if the status is MaxRetryFinished (all retries failed to post the Query output), then you can cancel the process. Comments shows message that previous document update has been failed and next retry attempt will be done according to retry count. The status will be updated to “All retries failed” of Precisely Update business job on Evolve when all retries are completed by Worker. Single or Bulk Form/Excel process cancel is allowed when all retires fail.