Level3 Assignment2 Error

How can I solve this error?

Invoke Workflow File: The given key was not present in the dictionary.

I’ve checked argument’s value and settings sheet in config file already.

@dbdbdb

Could you please show me screenshot of that Arguments in Invoke WorkFlow activity and so that we can check and help you.

1 Like

Name / Direction / Type /Value
System1_URL / in / String/ in_Config(“System1 URL”).ToString
System1_Credential/ in / String/ in_Config(“'System1 Credential”).ToString

I’m sorry that I can’t capture because of security.

@dbdbdb

On Invoke WorkFlow activity and click on Import Arguments and then pass these values to it.

Have you created these Assets "System1 URL* and System1 Credential in Orchestrator Assets and put these names in config file properly ?

1 Like

in_Config(“System1 URL”).ToString
in_Config(“'System1 Credential”).ToString

I made a asset named ACME_Credential(It is the value of ‘System1 Credential’ in config file)

@dbdbdb

Try to print these values before Invoke WorkFlow activity and check once whether it is printing any values or not.

1 Like

in_Config(“'System1 Credential”).ToString → in_Config(“System1 Credential”).ToString

I modified value and I solved it! Thank you

1 Like

@dbdbdb

Great. Happy automation :slight_smile:

1 Like