Updates context variables for the specified Mobile Workflow package.
void SUPMobileWorkflow.updateMobileWorkflowContextVariables(MobileWorkflowIDVO workflowID,
MobileWorkflowContextVariableVO contextVariables)
If successful, returns silently. If unsuccessful, returns SUPAdminException.
// Update MobileWorkflow context variables
MobileWorkflowIDVO workflowID = new MobileWorkflowIDVO();
// ID 2 version 1 is a existing Mobile Workflow on the server
workflowID.setVersion(1);
workflowID.setWID(2);
List<MobileWorkflowContextVariableVO> contextVariables = workflow
.getMobileWorkflowContextVariables(workflowID);
contextVariables.get(0).setValue("string value updated");
workflow.updateMobileWorkflowContextVariables(workflowID,contextVariables);