You are viewing limited content. For full access, please sign in.

Question

Question

WF 10.2 Scripting

asked on September 6, 2017

Since updating from Workflow 9.2 to 10.2, a C# script that runs some powershell is not accurately returning a value. I have tested the Powershell script and it is returning the correct values.

 

Does anyone have any insight as to what would have broken the script between 9.2 and 10.2?

0 0

Answer

SELECTED ANSWER
replied on September 6, 2017

After multiple tests, I found that the input variable I was using in my C# script was not being picked up by Workflow.

I saved the input variable as a token using the Assign Token Values activity and changed the script to look at the new token. It works again.

 

Not sure if this is a bug or not with 10.2.....I don't think I have other scripts using input variables.

0 0

Replies

replied on September 6, 2017

Side note: This script has been in place for months on 9.2 and worked fine.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.