{ "Name": "Set Last Signed By User", "Trigger": "ObjectMetadataChanged", "MonitoredProperties": [ { "Property": "{CF7E481D-94FA-4ACC-B766-870D7950D6B6}" } ], "Source": { "ObjType": "{55E1CA21-DE4D-4ED1-A1DD-5EC2E0597E8B}", "Class": "CL.SignatureTestAssignment" }, "ConfigurationMode": "Advanced", "CopyMode": "FromSourceToTarget", "TriggerOnTargetChange": false, "Target": { "Reference": "{32FA7AA2-3E20-451A-862D-B61BFD1E91A5}", "ReferenceDirection": "Direct", "Properties": [ { "Property": "PD.LastSignedByUsers", "VaultSearchFilters": [ { "SearchConditions": [ { "conditionType": "equal", "expression": { "type": "propertyValue", "propertyDef": "{CEBF9AC9-C60C-4240-9F50-723DBF3A5CA7}", "indirectionLevels": [] }, "typedValue": { "dataType": "lookup", "value": { "lookup": { "item": { "objectClass": "Class.Employee" } } } } } ] } ], "DynamicVaultSearchFilters": [ { "DynamicVaultSearchConditions": [ { "Property": "PD.MfilesAccount", "Value": { "Mode": "Static" } } ] } ], "ValueType": "Function", "Function": { "FunctionsGroup": "Lookup", "LookupFunction": "AddedItem", "LookupFunctionParameters": { "Parameters": { "Property": "{CF7E481D-94FA-4ACC-B766-870D7950D6B6}" } } } } ] } } { "Name": "Set Last Signed By Employee", "Trigger": "ObjectMetadataChanged", "MonitoredProperties": [ { "Property": "PD.LastSignedByUsers" } ], "Source": { "ObjType": "{53F0C8FD-0BF0-47C4-8FA6-4C2D0DADB650}", "Class": "{16D1D4AF-BB12-427C-A0CE-E47AA518165D}" }, "ConfigurationMode": "Advanced", "CopyMode": "OnSourceObject", "Properties": [ { "Property": "PD.LastSignedBy", "ValueFrom": "Specify", "MultiLevelReferences": [ null ], "VaultSearchFilters": [ { "SearchConditions": [ { "conditionType": "equal", "expression": { "type": "propertyValue", "propertyDef": "{CEBF9AC9-C60C-4240-9F50-723DBF3A5CA7}", "indirectionLevels": [] }, "typedValue": { "dataType": "lookup", "value": { "lookup": { "item": { "objectClass": "Class.Employee" } } } } } ] } ], "DynamicVaultSearchFilters": [ { "DynamicVaultSearchConditions": [ { "Property": "PD.MfilesAccount", "Value": { "Mode": "Dynamic", "DynamicValue": "%PROPERTY_{PD.LastSignedByUsers}%" } } ] } ], "ValueType": "Value", "Value": { "Mode": "Dynamic", "DynamicValue": "%.%" } } ] } { "Name": "Add Signature Case", "Trigger": "ObjectMetadataChanged", "MonitoredProperties": [ { "Property": "PD.LastSignedBy", "MonitorType": "WithCondition", "ConditionVersion": "CurrentVersion", "Operator": "MFConditionTypeNotEqual", "Value": { "Mode": "SetToNULL", "TypedValue": { "dataType": "lookup", "value": { "isNull": true } } } } ], "Source": { "ObjType": "{53F0C8FD-0BF0-47C4-8FA6-4C2D0DADB650}", "Class": "{16D1D4AF-BB12-427C-A0CE-E47AA518165D}" }, "StateActions": [ { "arrayElementGuid": "4aca132c-6b36-4936-a1b1-57ff9c50851b", "Name": "Add Signature Image", "Action": "AddSignature", "AddSignature": { "FilenameWildcards": [ "*" ], "Signatures": [ { "SignatureType": "Image", "SignatureImage": { "ImageType": "FromSourceObject", "Property": "%PROPERTY_{PD.LastSignedBy}%", "SignatureSearch": [ { "StatusFieldConditions": [ { "Field": "Type", "ValueType": "Static", "ObjectTypeValue": "OT.Person" } ], "Conditions": [ { "Property": "{CEBF9AC9-C60C-4240-9F50-723DBF3A5CA7}", "Value": { "Mode": "Static", "TypedValue": { "dataType": "lookup", "value": { "lookup": { "item": { "objectClass": "Class.Employee" } } } } } }, { "Property": "PD.MfilesAccount", "Value": { "Mode": "Dynamic", "DynamicValue": "%PROPERTY_{PD.LastSignedByUsers}%" } } ] } ], "FilenameWildcards": [ "*" ], "MaxWidth": 100 }, "SignaturePlacement": "Placeholder", "SignaturePlaceholder": "##Signature_%PROPERTY_{PD.LastSignedBy}%##" } ] } }, { "arrayElementGuid": "04368bf7-fe70-4329-ba0f-e35ae4e18826", "Name": "Add Signature Date", "Action": "AddSignature", "AddSignature": { "FilenameWildcards": [ "*" ], "Signatures": [ { "SignatureType": "Text", "SignatureImage": { "ImageType": "FromSourceObject", "Property": "%PROPERTY_{PD.LastSignedBy}%", "SignatureSearch": [ { "StatusFieldConditions": [ { "Field": "Type", "ValueType": "Static", "ObjectTypeValue": "OT.Person" } ], "Conditions": [ { "Property": "{CEBF9AC9-C60C-4240-9F50-723DBF3A5CA7}", "Value": { "Mode": "Static", "TypedValue": { "dataType": "lookup", "value": { "lookup": { "item": { "objectClass": "Class.Employee" } } } } } }, { "Property": "PD.MfilesAccount", "Value": { "Mode": "Dynamic", "DynamicValue": "%PROPERTY_{PD.LastSignedByUsers}%" } } ] } ], "FilenameWildcards": [ "*" ], "MaxWidth": 100 }, "SignaturePlacement": "Placeholder", "SignaturePlaceholder": "##Date_%PROPERTY_{PD.LastSignedBy}%##", "SignatureText": { "Color": "#000000", "Text": "%TODAY%" } } ] } } ], "arrayElementGuid": "3f3ebe2b-64f5-4295-a90a-2ffb9b8d5f90" }