0
Worker Status Indicator
Description
The worker status indicator part allows application users to show a progress bar.
Use
The worker status indicator is used to show a progress bar for an asynchronous task. You can specify several parameters, such as the timeout period and caption.
Editor Fields
Field | Type/Options | Optional/Mandatory | Description |
Linked to | Webservice | Mirth | Mandatory | Webservice: Show a progress bar for a webservice call. Mirth: Show a progress bar for a Mirth call |
Worker-handle (input) | Text | Mandatory | This is the name of the worker handle that handles the asynchronous task. |
Status (output) | Data Object | Optional | This is the name of the data object in which to save the status of the task. |
Results (output) | Data Object | Optional | This is the name of the data object in which to save the result of the task. |
Time out (sec) | Number | Optional | This is the time in seconds after which the progress bar times out. |
Label | Text | Optional | This is the caption the system displays to the left of the progress bar. |
Completed message | Text | Optional | This is the message the system should show when the task has been completed. |
Token | Number | Optional | This is the number of the token in which the progress bar should run. |
Submit at error | Yes | No | Mandatory | Yes: Submit the page when an error occurs. No: Do not submit the page when an error occurred. |
Submit on asynchronous response (v8.2+) |
Yes | No | Mandatory | Yes: When using asynchronously, the webservice constantly polls the server to see if the task is done. The system submits the page when it gets an answer. No: The system will not submit the page when it gets an answer. |
Resources Tab | - | - | See node/part resource and references. |
Example
Download and import the following example project in your workspace.
Like
Follow
Reply