Get Credential Exception: Object reference not set to an instance of an object

orchestrator

#1

Hi, I’m working on a project using Reframework and have created a emailCredentialAsset in the config file with the name of the email credential Asset I’ve saved on Orchestrator as its value.

So under Input of Get Credential activity, I’m having “Config(“emailCredentialAsset”).toString” and on output I have created two variables one for username and one for password.

But whenever I try to run the project, it always shows the error above. I have not publish this package on to Orchestrator yet, is this the problem?

If I don’t want to publish it on to Orchestrator just yet, how do I make the get Credential activity work while in Studio?