Articles → UIPATH → Add Log Fields And Remove Log Fields Activities In Uipath
Add Log Fields And Remove Log Fields Activities In Uipath
Purpose
- Add Log Fields → This activity adds a custom field while writing the log using the log message activity
- Remove Log Fields → This activity removes the custom fields while writing the log using the log message activity
Example
- Drag and drop the "Log Message" activity and write the "Log Before Add log fields" message
- Drag and drop the "Add Log Fields" activity and add a custom field "Year"
Click to Enlarge
- Drag and drop the "Log Message" activity and write the "Log After Add log fields" message
- Drag and drop the "Remove Log Fields" activity and remove the custom field "Year"
Click to Enlarge
- Drag and drop the "Log Message" activity and write the "Log After Remove Log Fields" message
Click to Enlarge
- Save and run the bot
Output
Click to Enlarge