Question to Codebeamer Development - WorkflowAction - execute field updates with different user context
Hello all,
I've been tasked with creating some WorkflowActions that shall obtain data, process it and write the result to an item field (text, choice, table - differs per WA), where the triggering Member lacks write access to the field.
A use case is (e.g.) writing "administrative data" to item fields that are not visible to members with certain roles (e.g. "Externals" or "Non privileged" regular users). Since a WorkflowAction is, by design, always executed in the context of the triggering user, this cannot be achieved by default.
Is there a way to execute these field updates under a different user context (e.g. "system user") from within the WorkflowAction, or to run the WorkflowAction itself under a different context?
Another approach could be utilising the "Execute as" mechanism available for some "predefined" WorkflowAction (disabled by default) - is there a way to use this from a custom WorkflowAction (possibly with a "hard wired" user, defined in the WA)?
Any ideas or suggestions are welcome.
Last but not least, if this is the wrong place for this type of question I'm open for recommendations.
Thank you and regards

