Expand my Community achievements bar.

Can you please share data structure to trigger proofing from fusion

Avatar

Level 1

Hi

 

Can you please share data structure to trigger proofing workflow from a task automatically through fusion

 

1 Reply

Avatar

Level 9

Hi,

 

use the Misc action module with Document as Record Type and createProof as action.

 

For the advancedProofingOptions you can use this as orientation:

{
    "stages": [
        {
            "name": "TestStage1",
            "lockOn": 1,
            "position": 1,
            "isPrivate": false,
            "activateOn": 1,
            "recipients": [
                {
                    "name": "",
                    "role": 5,
                    "email": "user@mydomain.com",
                    "recipient_id": "",
                    "notifications": 0,
                    "isPrimaryDecisionMaker": null
                },
                {
                    "name": "Workfront User Name",
                    "role": 5,
                    "email": "usern2@mydomain.com",
                    "recipient_id": "",
                    "notifications": 0,
                    "isPrimaryDecisionMaker": false
                }
            ],
            "isMandatory": false,
            "deadlineDate": null,
            "deadlineTime": null,
            "isOneApproval": true,
            "activateOnDate": null,
            "parentPosition": null,
            "activateOnDecision": null,
            "deadlineCalculateOn": null,
            "deadlineBusinessDays": null
        }
    ],
    "message": "This is a Test",
    "subject": "Test using Fusion",
    "templates": [],
    "hasMessage": true,
    "canDownload": true,
    "customfields": [],
    "hasPublicSharing": true,
    "isAutomatedWorkflow": true,
    "stageBasedVisibility": 0
}

 

 

Regards

Lars