Re Framework - Set Transaction Status Issue

In the Set Transaction Status workflow, why we need to Remove Log Fields after Add Log Fields?

Hi @betty881019

Welcome to the community!!!

What you do mean by removing log fields after add log fields in the set transaction status workflow?

Can you explain with a screenshot if possible on what you are trying to do?

Hi @betty881019,

A good question. There is nothing in the documentation that says that Add Log Field activity must be followed by a Remove Log Fied activity.

Therefore, I think that the custom fields added to the Robot Execution Logs will be permanent unless you remove them after logging the information to the logs. What happens if the next transaction fails? If the custom fields that need to be added are different, then do the fields added the first time have to be removed?

At least, that’s what it looks like from the GetTransactionStatus.xaml sequence. I would test by simply disabling the Remove Log fields activity and see if the Robot fails.