How to get Shared variable declared in PreValidate operation in D365 plug in
Suppose when we
declared a shared variable in PreValidate operation and we are trying to get it
using Context.SharedVarible[“yourKey”] in PreOperation and PostOperation. It will
give error as below.
Var myVariable = context.ParentContext.SharedVariables["MyVariable"].ToString()
Comments
Post a Comment