Skip to main content
Question

AARI Process - Create Request using Task Bot

  • September 2, 2025
  • 8 replies
  • 68 views

Forum|alt.badge.img+2

when creating a request using task bot in aari process it is getting created but the task bot that we have called in aari process is getting failed

But when running process directly same task bot that is there in aari process is getting called 

8 replies

Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • September 2, 2025

Hi ​@hardik.choudhary,

 

Could you please provide some details of the error that you are getting?


Forum|alt.badge.img+2

@Padmakumar I have create a aari process. In that aari process I am just calling a simple task bot (Update Task). Now when I am running this AARI process directly by opening the AARI Process then this Update task is getting called.The same is displayed in AARI request as whenever we ran this aari process request gets created.

 

Now issue is when I am running the same AARI process using Created request command in one task bot (Create Task) then request is getting created but this Update Task bot is showing unsuccessfull. In audit logs and in activity this unsuccessfull is not visible

 

Please let me know if you need more details


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • September 2, 2025

@hardik.choudhary Usually, if a task bot fails, you should see it in the process screen. What do you see?

 


Forum|alt.badge.img+2

Only unsuccesfull without any reason but i am creating the request from task bot itlsef using creator license. But if i am running the process directly it is running fine


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • September 2, 2025

@hardik.choudhary Anything in the Activity > Historical?

 


Forum|alt.badge.img+2

Nothing


Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+15
  • Premier Pathfinder | Tier 7
  • September 3, 2025

@Padmakumar I have create a aari process. In that aari process I am just calling a simple task bot (Update Task). Now when I am running this AARI process directly by opening the AARI Process then this Update task is getting called.The same is displayed in AARI request as whenever we ran this aari process request gets created.

 

Now issue is when I am running the same AARI process using Created request command in one task bot (Create Task) then request is getting created but this Update Task bot is showing unsuccessfull. In audit logs and in activity this unsuccessfull is not visible

 

Please let me know if you need more details

Given this, the likely root causes to check based on best practices and known behavior are:

  1. Input Parameter Validation:

    • Ensure that the input parameters passed to the AARI process when invoked via the Create Request action exactly match the expected format, type, and values that the Update Task bot requires.
    • Differences in input can cause the Update Task bot to fail silently if it does not handle unexpected or missing inputs gracefully.
  2. Execution Context Differences:

    • The AARI process run directly may inherit user context or session variables that are not present or different when run via a programmatically created request.
    • Verify that any environment variables, credentials, or context data required by the Update Task bot are correctly passed or accessible in both scenarios.
  3. Error Handling and Logging:

    • Since the Update Task bot failure is not visible in audit logs or activity, it may be failing internally without propagating errors properly.
    • Add explicit error handling or logging steps within the Update Task bot to capture and report any issues when input values are invalid or when the bot encounters problems.

Shreya.Kumar
Pathfinder Community Team
Forum|alt.badge.img+14
  • Pathfinder Community Team
  • October 6, 2025

@hardik.choudhary were you able to resolve the issue? sharing what work can help other members of the community