Related Topics
SystemVariableContext Class
This object represents a SystemVariableContext object that contains the context properties for a System Variable or other object.
Properties
PROPERTY NAME | DATA TYPE | DESCRIPTION |
---|---|---|
Object | ContentList object | A ContentObject object to assign as context |
Form | Form Object | A Form object to assign as context |
FormControl | Form Control Object | A FormControl object to assign as context |
Process | Process Object | A Process object to assign as context |
ProcessTask | ProcessTask Object | A ProcessTask object to assign as context |
ProcessTaskUser | ProcessTaskUser Object | A ProcessTaskUser object to assign as context |
User | User Object | A User object to assign as context |
Methods
This class has no methods to call. This class merely stores the context property for a declared SystemVariableContext object. Once the object is declared and properties set, the object can be used to set the context for another Process Director object, such as a Business Rule.
Example
// Declare the context object
SystemVariableContext mycontext = new SystemVariableContext();
// Set the context Properties
mycontext.Form = Form.GetFormByFORMID(bp, "FORMID");
mycontext.ProcessTaskUser = ProcessTaskUser.GetProcessTaskUserByTASKUID(bp, "TASKUID");
// Specify a Business Rule to call and apply the context for evaluation
var oRule = Rule.GetRuleByID(bp, "RULEID");
string result = oRule.Evaluate(mycontext);
Documentation Feedback and Questions
If you notice some way that this document can be improved, we're happy to hear your suggestions. Similarly, if you can't find an answer you're looking for, ask it via feedback. Simply click on the button below to provide us with your feedback or ask a question. Please remember, though, that not every issue can be addressed through documentation. So, if you have a specific technical issue with Process Director, please open a support ticket.