Creating an Async Real-Time Client Invoker with Response

After publishing the Robotic Automation solution to the server, you are ready to create an invocation of the workflow. This topic describes to use a method Async Invoke with Response.

Unlike Async Real-Time Client Invoker, this method returns a Conversation ID, as number.

Responses are mapped to these events.

  • Response Received: This event is triggered when a success response is received.

  • Failure Response Received This event is triggered when a failure response is received.

    Parameters for both the events include:

    • Conversation ID: Conversation ID from an invoked Robotic Automation Response.

    • Sync Automation Response: Response from a Sync Invoker

You will be able to create a Real-Time Client Invoker using the Real-Time Designer only if the Real-Time Designer is connected to the Real-Time Server.

 

To create a Real-Time Client Invoker with Response using the Real-Time Designer:

  1. Verify that you have a published Robotic Automation Solution available (see Create, Configure and Enable the Robotic Automation Solution via Real-Time Designer).

  2. Open Real-Time Designer, navigate to the Project tab and click References.

  3. Go to Robotic Automation References, right-click and select New Robotic Automation Reference.

  4. Real-Time Server goes to the server requests for all the Robotic Automation Solutions and workflows that are currently published on the server. These are displayed in the Add Robotic Automation Reference window, which lists all of the published solutions, their versions, workflows, and parameters in descending order.

  5. Select a version for the published solution and click Add References.

    The new reference is added to the Robotic Automation references and automatically creates a corresponding service.

  6. Go to the Physical Objects tab to view the newly added service.

  7. The new service exposes a method called Invoke.To open this method, right-click the service and select Function Invocation and then select Services.

    You may create an invocation based on rules, business logic, and the automation options that are available in the Real-Time Designer (see Real-Time Designer User Guide for details).

  8. Select the Robotic Automation Solution you are invoking, and click Async Invoke with Response.

  9. This opens a window where you can select one of the following:

  10. From the Workflow dropdown, select the relevant workflow, and then parameters (if available).

  11. From the Priority dropdown, select the workflow priority (optional).

    Business Data parameters are optional.

  12. In the In-Queue Timeout and Execution Timeout tabs, enter their individual timeout values, and select a time format.

    The entry for timeout should be in the following range: Hours: 1-24, Minutes: 1-1440, Seconds: 1-86400. The entry for timeout should be in the following range. Execution Timeout: Hours: 1-24, Minutes: 1-1440, Seconds: 1-86400. In-Queue Timeout: Hours: 1-168, Minutes: 1-10080, Seconds: 1-604800. If no entry is provided then the parameter is set to values set in RT Server Configurations. See the Robotic Automation Solution Guide.

  13. Click OK.