on 2025 Mar 04 8:12 AM
I want to capture currentUser so that I can pass the value in Approved By.
Currently I use "Process Started By" but the value return is system generated and it looked like a secret code instead of currentUser name.
How can I get currentUser name to pass actual user name in Approved By field?
Thanks!
Request clarification before answering.
Hi izni,
the username you see (the secret code) is actually the global user ID of the user, who started the workflow.
It is part of IAS user setup.
IAS can be setup to have other values as Global user ID, or example the email could be used.
However it will anyway not solve your requirement, as it is the user ID of the user who started the flow, not the currently logged on user.
To get this, you must use some BTP user info API, or IAS API. I think this is tricky, haven't solved it myself yet.
Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 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.