Skip to content

Commit

Permalink
workflowContext variable for workflow-related scripts (approverExpres…
Browse files Browse the repository at this point in the history
…sion, automaticallyCompleted, ...)
  • Loading branch information
mederly committed Sep 20, 2017
1 parent 9540d91 commit e83fe64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Expand Up @@ -91,4 +91,5 @@ public class ExpressionConstants {
public static final QName VAR_REVIEWER_SPECIFICATION = new QName(SchemaConstants.NS_C, "reviewerSpecification");

public static final QName VAR_CHANNEL = new QName(SchemaConstants.NS_C, "channel");
public static final QName VAR_WORKFLOW_CONTEXT = new QName(SchemaConstants.NS_C, "workflowContext");
}
Expand Up @@ -97,6 +97,8 @@ public ExpressionVariables getDefaultVariables(WfContextType wfContext, String r
variables.addVariableDefinition(SchemaConstants.T_OBJECT_DELTA, objectDelta);

variables.addVariableDefinition(ExpressionConstants.VAR_CHANNEL, requestChannel);

variables.addVariableDefinition(ExpressionConstants.VAR_WORKFLOW_CONTEXT, wfContext);
// todo other variables?

return variables;
Expand Down

0 comments on commit e83fe64

Please sign in to comment.