Can you please share data structure to trigger proofing from fusion | Community
Skip to main content
New Participant
July 8, 2024
Question

Can you please share data structure to trigger proofing from fusion

  • July 8, 2024
  • 1 reply
  • 481 views

Hi

 

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

lgaertner
New Participant
July 8, 2024

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

New Participant
December 9, 2024

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