Hi everyone,
I'm currently working on a custom Reltio workflow and have been reviewing the update-task-timer sample from the samples-custom-workflow repository. The example was very helpful, but it raised a few questions around credential management and runtime best practices that I'm hoping the community can clarify. https://github.com/reltio-ai/samples-custom-workflow
In the sample, OAuth credentials are stored as encrypted BPMN process variables (encodedClientId and encodedClientSecret) and then decrypted at runtime inside a custom WorkflowAction. While this works technically, I'm trying to understand whether this is intended as a production-ready pattern or primarily a sample implementation.
Some questions I have:
-
What is the recommended way to store OAuth client credentials for custom workflows in production?
- Is storing encrypted credentials in BPMN variables the preferred approach?
- Or does Reltio recommend another pattern?
-
Does Reltio provide any built-in secret management capability for custom workflows?
- For example, access to Workflow Adapter configuration, a secure credential store, or any supported mechanism to keep secrets outside BPMN definitions.
-
How do customers typically handle the "root key" problem?
- If credentials are encrypted in BPMN but the decryption key exists in the workflow code, anyone with access to both could theoretically decrypt the values.
- What is the recommended production approach, especially in environments where developers do not have access to external secret stores, environment variables, or platform-level configuration?
-
If multiple custom workflows need to call Reltio APIs, is it common to use a shared OAuth client across workflows, or maintain separate credentials per workflow?
-
For custom WorkflowAction implementations that make outbound REST calls:
- Are there any recommended connection/request timeout settings?
- Does the Workflow Adapter enforce any execution timeout for custom workflow actions?
- Or should developers always configure HTTP timeouts themselves?
-
Are there any official examples or reference implementations showing production-ready credential management for custom workflows beyond the samples repository?
I'd really appreciate any guidance, recommended patterns, or lessons learned from teams that have implemented and supported custom workflows in production.
Thanks in advance!
------------------------------
Diptam Dutta
Cognizant
------------------------------