So far I couldn’t find the answer in any course or youtube video about credentials.
Can someone tell me a brief description on what is the correct/intended way to work with credentials stored in Orchestrator.
Today what I’m doing is:
- Store credential in Orchestrator with name “C_Example”
- Map the credential in Config.xlsx
- Inside reframework we have Initalization and Process (and others than don’t apply at least for me now)
- Initialization reads Config file as per usual
- In the process what I’m doing is calling sub-processes part of the complete automation, lets call them: Subprocess_one, Subprocess_two; based on different conditions.
- Some of then need to make use of one or another credential
- When the moment arrive I use in thoses sub-processes the Getcredentials activity (to use it in the minimal part of the entire automation/sequence)
Well, from one side this has sense since this way the credential is stored in memory only the minimal amount of time that needs to be in order to get used.
On the other hand this way does not follow the principle to get every possible thing/resource that the automation may need in the Initialization process.
So what I’m really questioning is:
Is correct to call the Orchestrator to get every possible credential needed in Initalization and pass it with arguments to the processes → subprocesses or is correct to call the Orchestrator in the middle of a subprocess to get the credential, then use it and then let run out of the memory.
Also now comes to my mind that the way I’m doing it right now (calling orchestrator with get credentials in the subprocess) has another problem: If the credential is used more than once pero execution; witch it is the case at least in this automation, I’ll be calling the Orchestrator one per item.
This automation: Has around 2000 items per performer execution. At least 1000 of the items will require to call the orchestrator for a credential. Time lost in coms with orchestrator is not important since the rpa lasts around 1 min per item due to technical limitations.
Thanks for your answer,