Hi User,
My understanding of the problem you described above is the following
- You have separate client credentials for DEV/TEST and PROD environments.
- When the workflow is raised from the local workflow adapter or the DEV/TEST tenants, you want the workflow to be assigned to the DEV client credentials.
- When the workflow is triggered from the PROD UI, then you need the workflow to be assigned to the PROD client credential.
Please verify if this understanding is correct.
If yes, then you can achieve this via java customizations. Here is what you will need to do.
Let me know if this helps.
------------------------------
Diparnab Dey
Technical Consultant
Reltio
Kolkata, West Bengal
------------------------------