Updates context variables for the specified Mobile Workflow package.
void updateMobileWorkflowContextVariables(MobileWorkflowIDVO workflowID, List<MobileWorkflowContextVariableVO> contextVariables) throws SUPAdminException;
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);
For mobile workflow packages that do not support certificate-based authentication, use the following context variables to specify credentials:
For mobile workflow packages that support certificate-based authentication, use the above variables and the following additional context variables: