Ability to get process start parameters value when error occurs

Answered
0
0

Hi all,

Are we able to retrieve the value from a start parameter when an error occurs? I want to use a unique ID I have in the start parameter to send as part of an API call when an error occurs.

However, I don’t see the variable in “ERROR MODE”.

  • You must to post comments
Best Answer
0
0

Hello,

Yes, I have the same issue. I contacted their support, and they informed me that this is in their backlog, so I hope it will be in production soon. 🙂

In the meantime, I’ve implemented a workaround. I created a global variable for editing (process scope and not as a constant). At the beginning of the process, I set this global variable to my start parameter, and then I read it in error mode.

I hope this helps you, too!

  • You must to post comments
0
0

@Emb

I also have a workaround where I have my internal run data in a database, and I set the status for that specific run to be “In Progress”. Since only 1 run can happen at 1 go (if you only have 1 robot in production), when I encounter an error for that run, it will find the only “In Progress” run, and run my error logic for the team to be notified on Slack.

I hope that they do prioritize this enhancement!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.