Expand my Community achievements bar.

Wondering how Workfront Proof works? Join our AMA on May 8th and ask our Community experts!

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

 

2 Replies

Avatar

Level 10

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

Avatar

Level 1

Hi Lars,

 

I am also trying to add approvers to a proof.
When I add your JSON to the advancedProofingOptions (changing the E-Mails of course) it always shows an error message "Error while generating the proof".

I also tried the createProofRest action. No success either.
Any ideas?

 

Best

Frank