wfm.SaveMasks

This job saves changes to one or more masks with substructure (fields, ListCtrlCols, catalogs).

1. Input Parameters

Name Type Required Description

OrganisationId

STRING

Yes

ID of the organization.

WorkflowId

STRING

Yes

ID of the workflow model.

Masks

BASE64

Yes

Structure with the masks to be saved in XML format (see note).

2. Output Parameters

Name Type Dependency Description

OrganisationId

STRING

ID of the organization.

WorkflowId

STRING

ID of the workflow model.

MaskIds

STRING

Comma-separated list of mask IDs that could not be saved.

3. Return Value

(INT): 0 = Job successful, otherwise error code.

4. Note

Structure of Masks
<Masks>
  <Mask Id="" Name="" Flags="" FrameWidth="" FrameHeight="">
    <!-- for 1=MODSTATE_CHANGED, 2=MODSTATE_NEW -->
    <MaskField Id="" ModState=""/>

    <!-- for 0=MODSTATE_UNMODIFIED, 3=MODSTATE_DELETED -->
    <MaskField Id="" ModState="" Name="" InternalName="" FieldName=""
               TabOrder="" DataType="" InpLen="" Init="" Flags="" Flags1=""
               Flags2="" InpLeft="" InpTop="" InpRight="" InpBottom=""
               FieldLeft="" FieldTop="" FieldRight="" FieldBottom=""
               ToolTip="" ValuesId="">
      <!-- for 1=MODSTATE_CHANGED, 2=MODSTATE_NEW -->
      <MaskFieldVal Id="" ModState="">
        <![CDATA[ ]]>
      </MaskFieldVal>
    </MaskField>
  </Mask>
</Masks>

5. See Also