IRPCWorkflowsAdmin.ModifyWorkflow

View as Markdown

Administration API / specialized admin session

Saves a changed workflow with its states and transitions.

ServiceWorkflow administration MFiles.IRPCWorkflowsAdmin
gRPC method/MFiles.IRPCWorkflowsAdmin/ModifyWorkflow
HTTP (mf-http-grpc)POST /grpc/v1/modify-workflow
RequestModifyWorkflowRequest
ResponseModifyWorkflowResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: ModifyWorkflowRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page. Fields marked (recursive) refer to a type already on their path.

FieldTypeDescription
workflowWorkflowAdminThe complete new workflow; workflow.workflow.id identifies it.
workflow.workflowWorkflowBasic information on the workflow.
workflow.workflow.idint32Workflow ID.
workflow.workflow.namestringThe name of the workflow.
workflow.workflow.object_class_idint32The class this workflow can be used with.
workflow.workflow.descriptionstringThe user description of the workflow.
workflow.workflow.reserved1_obsoleteuint32Reserved, must be zero.
workflow.workflow.reserved2_obsoleteuint32Reserved, must be zero.
workflow.descriptionstringThe description of the workflow.
workflow.states[]repeated StateThe states of this workflow.
workflow.states[].idint32State ID.
workflow.states[].namestringThe name of the state.
workflow.states[].descriptionstringThe description of the state.
workflow.states[].optionsACTIONFLAGSFlags that tell which actions are enabled for this state.
workflow.states[].action_set_aclActionSetACLThe properties of the Set Permissions action.
workflow.states[].action_assign_to_userActionSetAssignmentThe properties of the Assign to User action.
workflow.states[].actions[]repeated ActionSetAssignmentAction array.
workflow.states[].action_send_notificationActionSendNotificationThe properties of the Send Notification action.
workflow.states[].action_set_propertiesActionSetPropertiesAction: set properties.
workflow.states[].action_convert_to_pdfActionConvertToPDFAction: convert to PDF.
workflow.states[].action_codestringAction: run VBScript code.
workflow.states[].restrict_transitionsboolTrue if transitions involving this state must be individually allowed.
workflow.states[].transitions_require_edit_access_to_objectboolTrue if state transitions require edit access to the object.
workflow.states[].check_in_out_aclboolTrue if the in/out permissions of this state should be checked.
workflow.states[].in_out_aclAccessControlListThe in/out permissions of this state.
workflow.states[].preconditionsStateConditionsState preconditions. (rules)
workflow.states[].postconditionsStateConditionsState postconditions. (rules)
workflow.states[].aliasesstringSemicolon-separated list of semantic aliases.
workflow.states[].user_descriptionstringThe user description of the state.
workflow.states[].state_flagsSTATEFLAGSFlags that tell different options set for this state.
workflow.states[].agent_action_guidstringThe agent action GUID of the state, or GUID_NULL if not set.
workflow.transitions[]repeated StateTransitionThe state transitions of this workflow.
workflow.transitions[].idint32State transition ID.
workflow.transitions[].from_stateint32The source state.
workflow.transitions[].to_stateint32The target state.
workflow.transitions[].evaluation_orderint32The evaluation order.
workflow.transitions[].namestringThe name of the state.
workflow.transitions[].descriptionstringThe description of the state.
workflow.transitions[].aclAccessControlListTransition permissions.
workflow.transitions[].signature_settingsElectronicSignatureSettingsSignature settings for this state transition.
workflow.transitions[].trigger_modeAutoStateTransitionModeThe selected mode for automatically triggered state transition.Values: AUTO_STATE_TRANSITION_MODE_NONE (0), AUTO_STATE_TRANSITION_MODE_RELATIVE_TIME (1), AUTO_STATE_TRANSITION_MODE_CRITERIA_FULFILLED (4), AUTO_STATE_TRANSITION_MODE_SCRIPT_FULFILLED (5), AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_COMPLETE (6), AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_REJECTED (7).
workflow.transitions[].trigger_in_daysuint32The number of days before automatically triggered state transition.
workflow.transitions[].trigger_criteria[]repeated SearchConditionThe criteria for automatically triggered state transition.
workflow.transitions[].trigger_codestringThe VB script for automatically triggered state transition.
workflow.transitions[].aliasesstringSemicolon-separated list of semantic aliases.
workflow.transitions[].vault_guids[]repeated stringAn array of GUIDS of vaults where this state transition will be triggered.
workflow.transitions[].user_descriptionstringThe user description of the state.
workflow.aclAccessControlListPermissions.
workflow.acl.checked_out_to_userint32Specifies the ID of the user who has extended rights because of the checkout operation performed by her. 0 if such user does not exist.
workflow.acl.is_fully_authoritativeboolSpecifies whether this access control list is set to ignore the secondary permissions that come from the latest checked in version.
workflow.acl.custom_componentAccessControlListComponentAccesses the custom component of this ACL.
workflow.acl.restrictive_components[]repeated AccessControlListComponentMapEntryAccesses the restrictive automatic components of this ACL.
workflow.acl.secondary_access_control_listAccessControlList (recursive)Secondary ACL used for latest version ACL. Not used for access check if null.
workflow.acl.additive_components[]repeated AccessControlListComponentMapEntryAccesses the additive automatic components of this ACL.
workflow.aliasesstringSemicolon-separated list of semantic aliases.
workflow.graphical_layout_datastringLayout data of the workflow.

Response: ModifyWorkflowResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page. Fields marked (recursive) refer to a type already on their path.

FieldTypeDescription
workflow_resultWorkflowAdminThe workflow as stored, with real IDs for new states and transitions.
workflow_result.workflowWorkflowBasic information on the workflow.
workflow_result.workflow.idint32Workflow ID.
workflow_result.workflow.namestringThe name of the workflow.
workflow_result.workflow.object_class_idint32The class this workflow can be used with.
workflow_result.workflow.descriptionstringThe user description of the workflow.
workflow_result.workflow.reserved1_obsoleteuint32Reserved, must be zero.
workflow_result.workflow.reserved2_obsoleteuint32Reserved, must be zero.
workflow_result.descriptionstringThe description of the workflow.
workflow_result.states[]repeated StateThe states of this workflow.
workflow_result.states[].idint32State ID.
workflow_result.states[].namestringThe name of the state.
workflow_result.states[].descriptionstringThe description of the state.
workflow_result.states[].optionsACTIONFLAGSFlags that tell which actions are enabled for this state.
workflow_result.states[].action_set_aclActionSetACLThe properties of the Set Permissions action.
workflow_result.states[].action_assign_to_userActionSetAssignmentThe properties of the Assign to User action.
workflow_result.states[].actions[]repeated ActionSetAssignmentAction array.
workflow_result.states[].action_send_notificationActionSendNotificationThe properties of the Send Notification action.
workflow_result.states[].action_set_propertiesActionSetPropertiesAction: set properties.
workflow_result.states[].action_convert_to_pdfActionConvertToPDFAction: convert to PDF.
workflow_result.states[].action_codestringAction: run VBScript code.
workflow_result.states[].restrict_transitionsboolTrue if transitions involving this state must be individually allowed.
workflow_result.states[].transitions_require_edit_access_to_objectboolTrue if state transitions require edit access to the object.
workflow_result.states[].check_in_out_aclboolTrue if the in/out permissions of this state should be checked.
workflow_result.states[].in_out_aclAccessControlListThe in/out permissions of this state.
workflow_result.states[].preconditionsStateConditionsState preconditions. (rules)
workflow_result.states[].postconditionsStateConditionsState postconditions. (rules)
workflow_result.states[].aliasesstringSemicolon-separated list of semantic aliases.
workflow_result.states[].user_descriptionstringThe user description of the state.
workflow_result.states[].state_flagsSTATEFLAGSFlags that tell different options set for this state.
workflow_result.states[].agent_action_guidstringThe agent action GUID of the state, or GUID_NULL if not set.
workflow_result.transitions[]repeated StateTransitionThe state transitions of this workflow.
workflow_result.transitions[].idint32State transition ID.
workflow_result.transitions[].from_stateint32The source state.
workflow_result.transitions[].to_stateint32The target state.
workflow_result.transitions[].evaluation_orderint32The evaluation order.
workflow_result.transitions[].namestringThe name of the state.
workflow_result.transitions[].descriptionstringThe description of the state.
workflow_result.transitions[].aclAccessControlListTransition permissions.
workflow_result.transitions[].signature_settingsElectronicSignatureSettingsSignature settings for this state transition.
workflow_result.transitions[].trigger_modeAutoStateTransitionModeThe selected mode for automatically triggered state transition.Values: AUTO_STATE_TRANSITION_MODE_NONE (0), AUTO_STATE_TRANSITION_MODE_RELATIVE_TIME (1), AUTO_STATE_TRANSITION_MODE_CRITERIA_FULFILLED (4), AUTO_STATE_TRANSITION_MODE_SCRIPT_FULFILLED (5), AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_COMPLETE (6), AUTO_STATE_TRANSITION_MODE_ASSIGNMENT_REJECTED (7).
workflow_result.transitions[].trigger_in_daysuint32The number of days before automatically triggered state transition.
workflow_result.transitions[].trigger_criteria[]repeated SearchConditionThe criteria for automatically triggered state transition.
workflow_result.transitions[].trigger_codestringThe VB script for automatically triggered state transition.
workflow_result.transitions[].aliasesstringSemicolon-separated list of semantic aliases.
workflow_result.transitions[].vault_guids[]repeated stringAn array of GUIDS of vaults where this state transition will be triggered.
workflow_result.transitions[].user_descriptionstringThe user description of the state.
workflow_result.aclAccessControlListPermissions.
workflow_result.acl.checked_out_to_userint32Specifies the ID of the user who has extended rights because of the checkout operation performed by her. 0 if such user does not exist.
workflow_result.acl.is_fully_authoritativeboolSpecifies whether this access control list is set to ignore the secondary permissions that come from the latest checked in version.
workflow_result.acl.custom_componentAccessControlListComponentAccesses the custom component of this ACL.
workflow_result.acl.restrictive_components[]repeated AccessControlListComponentMapEntryAccesses the restrictive automatic components of this ACL.
workflow_result.acl.secondary_access_control_listAccessControlList (recursive)Secondary ACL used for latest version ACL. Not used for access check if null.
workflow_result.acl.additive_components[]repeated AccessControlListComponentMapEntryAccesses the additive automatic components of this ACL.
workflow_result.aliasesstringSemicolon-separated list of semantic aliases.
workflow_result.graphical_layout_datastringLayout data of the workflow.