How we can update value to AssociatedImageFilePath property in processing exception type in Queue Item

how we can update value to AssociatedImageFilePath property in processing exception type in Queue Item
Queueitem.ProcessingException.AssociatedImageFilePath

Hi @VijayaKumarA

Could you explain what is your end goal and what is going wrong?

Hi @loginerror,

My Goal is to update value to the AssociatedImageFilepath when an exception occurs while processing an item.

when i try to do so after processing an item using an assign activity it shows error as cant modify the NULL.
image

Will this be possible to modify the value like we provide details of exception and can be used for reporting purpose.

i am referring to the below API output,

image

Hi @loginerror,

My Goal is to update value to the AssociatedImageFilepath when an exception occurs while processing an item.

when i try to do so after processing an item using an assign activity it shows error as cant modify the NULL.
image

Will this be possible to modify the value like we provide details of exception and can be used for reporting purpose.

i am referring to the below API output,

image

Hi @VijayaKumarA

Would it work to try to assign the value in the Catch of the Try-Catch routine?

Hi @loginerror,

Still the same error,
image
image

please correct if i am missing anything

I found some more information, see below:

ProcessingExceptions table stores the exceptions sent by the robots when SetTransactionStatus was declared Failed.

  • Reason - This field stores data sent by robot using the Reason attribute of the SetTransactionStatus activity.
  • Details (optional) - This field stores data sent by robot.
  • Type - This field stores error types. ( 0 = ApplicationException, 1 = BusinessException)
  • AssociatedImageFilePath - This field stores local path where screen snapshot was saved if the “Take screenshot” activity was used by the robot. Value sent by the robot.

This would mean that you cannot change it manually. You need to call the Take screenshot activity to make your screenshot and save it in the desired location. The path should then be returned in the logs.

Let us know if it works!

Hi @loginerror

There is an output parameter for take screenshot activity should I need leave it blank ?

Hello @VijayaKumarA,

Did you find a way to set the path?

Regards,

@nawara,

No. i used to update the Output object and then fetched the result.