How to pass variables of uipath agent toaction center app

Hello,

i have created bpmn model where i need to add escalltion app.
before adding that i have an agent which is generating some output and agent is mentioning i need more information for generate output so i that case i need to create esacllation for user in action center with agent output which is in variable content and then user will update his/her commnets in textbox and submit for next step.
check below ss




how can i achiev that
help me on same
@bhavesh.choubey @ashokkarale @Anil_G @Akash_Javalekar1

You can try this approach
Run the Agent and store its output in a variable, e.g., AgentOutput and check if the output is incomplete or contains “need more info”. If yes then use Create Form Task activity in UiPath to send AgentOutput to Action Center and in the form show the agent message (read-only) + add a text box for user comments then use Wait for Form Task and Resume to pause the process until the user submits details. Once user fills in comments, capture them in a variable like UserComments and continue the workflow using both AgentOutput and UserComments.

Happy Automation

1 Like

Hi @Mathkar_kunal

1. Capture Agent Output

  • In your agent workflow (ProjectandCollaboration_Agent), ensure the output (e.g., content) is stored in a variable.
  • This variable should be accessible in the BPMN model as part of JobArguments.

2. Create Escalation Task

  • Add a Human Task (Escalation App) in your BPMN model after the Agent step.
  • Configure it to:
    • Display the content from the agent.
    • Include a textbox for user comments or updates.
    • Use Action Center Form Designer to build this UI.

3. Bind Variables

  • Bind the agent output (content) to a field in the form.
  • Bind the user input (e.g., userComment) to a new variable that will be passed to the next step.

4. Submit and Continue

  • Once the user submits the form:
    • Capture the updated value.
    • Pass it to the next step in the BPMN model
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.