on 2023 Mar 02 9:39 AM
Hello experts,
within the details of a SAP BTP workflow item the sender information is visible. But when a technical user started the workflow, a cryptic name is displayed in the My Inbox message like this:
Created by: sb-clone-cf544e07-e88d-4ae7-be14-cf4ea96a6904!b125270|workflow!b1015 .
Unfortunately, the enduser reading the work item is confused with this information. So we are looking for an option to hide or change this information.
The information is stored in the variable ${info.startedBy}.
But this cannot be overwritten: $.info.startedBy = "newName".
Error Message: TypeError: Cannot set property "startedBy" of info[taskDefinitionId=scripttask2, workflowInstanceId=35a11e96-b841-11ed-be5f-eeee0a816563
For the work item list displayed in the "Main" part of the MyInbox it is possible to display a custom name using the attribute "CustomCreatedBy". But this is not working for the workitem details.
So, how can we hide or change the displayed sender information "Created By: ..." within the workitem details?
With kind regards
Frank Lange
Request clarification before answering.
Hi Frank
I found the following forum to configure custom attributes in my inbox the problem is that i cannot identify where to add this custom attributes in the process that i created it.
You already try this solution from your end ?
Best regards
David.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello David,
no, it must work like it is.
Regards
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frank, has you been able to find a solution for this ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ivan,
the process was started by an internal technical user, so the workflow shows this user correctly, but I would like to change this display like: send by "Background service"
It looks better for the user.
Or can I hide diplay of this row?
Regards
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi hermes007,
When I see the following syntax "sb-clone[...]worflow!x9999", I see an internal technical user - meaning, it refers to an OAuth2 client id being used by the requester application when it called the workflow process end-point.
What you really want is to enable "Propagate Principal" on your workflow definition, so it is able to determine the user that has to start the workflow process.
If you have that enabled already, please check that you have the correct destinations in place. Check the following documentation (search for 'Propagate Principal'): https://help.sap.com/docs/WORKFLOW_MANAGEMENT/6f55baaf330443bd8132d071581bbae6/3e3515b732904cba82f8d...
There you will find a link to the documentation that has the destination's requirements and details.
If you are kick-starting the process outside of the workflow context (i.e.: you are starting it from an API call), then you ought to authenticate to it using a technical user and credential type = password.
Best regards,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.