Skip to main content

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 

Hi ​@hardik.choudhary,

 

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


@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


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

 


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


@hardik.choudhary Anything in the Activity > Historical?

 


Nothing


@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.

Reply