Hi I am facing the below error when trying to run Login function.
“Invoke GetCredentials workflow: System.Activities : This location is marked as const, so its value cannot be modified.”
Please help me on this
Did you try to run workflow from System1_Login workflow or Main workflow.
check did you pass valid arguments to GetAppcredential workflow
thanks
Try to run GetAppCredetials.xaml stand alone with dummy data and see where it is failing
when I ran the GetAppCredentials.xaml file I get “Get Orchestrator Credential Faulted” … Any Help Please !
Hi,
It’s simple. You have made a variable in the said GetAppCredentials as Readonly and trying to modify it, you just need to change in the Modifiers property of the variable
Instead of giving Credentials name from Config file give the name directly and see if it works
The modifiers i have kept none only.
Can you get your XAML uploaded here?
@lakshmik123 is the asset System1_Credential created on the Orchestrator platform ?
yes its created.
Sorry i cannot upload the xaml. its blocked for me
I tried to reproduce your issue. I removed the package, re-installed it and then tried to run. It faulted.
I guess you have installed the package after it threw error that ‘GetCredential is not a valid activity’
Can you close the workflow, restart and then try and run it again?
Just try this: create a blank workflow with a variable say ‘A’ and mark it ReadOnly. Now using Assign activity try changing the variable’s value. This would throw error "This location is marked as const, so its value cannot be modified.”
Somewhere you have marked something Readonly which raising this Exception and nothing else…
After retry also I am facing same issue. I have not kept anything in read only format.
In the Finally section, is there anything being done?