IRPCObjectOperations.GetStateTransitionSignatureSettings

View as Markdown

Vault API / core read session or assertion idempotent returns metadata structure version

Gets the signature settings for a state transition.

ServiceObjects, versions, properties and files MFiles.IRPCObjectOperations
gRPC method/MFiles.IRPCObjectOperations/GetStateTransitionSignatureSettings
HTTP (mf-http-grpc)POST /grpc/v1/get-state-transition-signature-settings
RequestGetStateTransitionSignatureSettingsRequest
ResponseGetStateTransitionSignatureSettingsResponse
Book and levelVault API, core
Kindread
SessionRequired: a session (mfiles-session-id-bin metadata) or a session assertion (x-mf-session-assertion metadata).
Idempotentyes
Returns metadata structure versionyes (in the mfiles-metadata-version-bin trailer)
Streamingnone (unary)

Remarks

Tells whether a state transition requires an electronic signature and what the signature must contain. Give state_transition_id, or -1 and the from_state and to_state. found is true if the transition exists. Signing is done with the signature field of SetProperties.

Request: GetStateTransitionSignatureSettingsRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
state_transition_idint32StateTransition ID. Ignored if -1.
from_stateint32FromState ID. Ignored if lStateTransitionID is given.
to_stateint32ToState ID. Ignored if lStateTransitionID is given.

Response: GetStateTransitionSignatureSettingsResponse

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
foundboolReceives true if the state transition was found.
settingsElectronicSignatureSettingsReceives the signature settings.
settings.is_requiredboolTrue if this transition requires an electronic signature.
settings.prompt_modeElectronicSignaturePromptModeOption 1: static reason/meaning.Values: ELECTRONIC_SIGNATURE_PROMPT_MODE_FIXED (0), ELECTRONIC_SIGNATURE_PROMPT_MODE_SELECTABLE (1).
settings.fixed_prompt_detailsElectronicSignaturePromptInfoOption 2: Pre-defined reason
settings.fixed_prompt_details.reasonstringReason text for the signature. This is typically a short description such as "Authorization for Use".
settings.fixed_prompt_details.meaningstringMeaning text for the signature. This is typically a longer description such as "I have reviewed the document and authorize it for use".
settings.selectable_prompt_details[]repeated ElectronicSignaturePromptInfoOption 3: Metadata-based reason/meaning.
settings.selectable_prompt_details[].reasonstringReason text for the signature. This is typically a short description such as "Authorization for Use".
settings.selectable_prompt_details[].meaningstringMeaning text for the signature. This is typically a longer description such as "I have reviewed the document and authorize it for use".
settings.user_selectable_reason_meaning_items_property_defint32A property definition that represents items in value list. Used if the prompt mode is eesrmpmPromptModeMetadataBasedUserSelectable.
settings.user_selectable_reason_property_defint32A property definition that indicates the reason property. PROPERTYDEF_UNINITIALIZED if no reason is specified. Used if the prompt mode is eesrmpmPromptModeMetadataBasedUserSelectable.
settings.user_selectable_meaning_property_defint32A property definition that indicates the meaning property. PROPERTYDEF_UNINITIALIZED if no meaning is specified. Used if the prompt mode is eesrmpmPromptModeMetadataBasedUserSelectable.
settings.add_metadata_reference_to_reason_meaning_itemboolCommon prompt details.
settings.prompt_free_form_textboolTrue if a free-form text is prompted with the signature.
settings.free_form_text_property_defint32Signature details. boolean bFillReasonPropertyText; //!< Optional? boolean bFillMeaningPropertyText; //!< Optional?
settings.manifestation_additional_infostringAdditional information for the manifestation text for the signature. This is not shown to the user when signing.
settings.create_separate_signature_objectboolTrue if the electronic signature shall be stored as a separate signature object. False to store as an embedded signature in a multi-line text property.
settings.manifestation_property_defint32Property definition to be used for storing the signature manifestation on the object. Ignored if bCreateSeparateSignatureObject is true.
settings.signature_identifierstringSignature identifier. Required if bCreateSeparateSignatureObject is true.