Skip to main content
Participant
August 25, 2017
Answered

How to create an agreement using a custom workflow through the API

  • August 25, 2017
  • 1 reply
  • 937 views

I am trying to create an agreement that passes 6 different workflows and generates a url using the adobe API's. I was unable to do it using the "Resources and Operations" feature that adobe has on its page. The agreement must also not send any messages pre/post to the signer that initiates it. When testing, we are always receiving a 400 error message that states either:

1.)

     {
       "code": "INVALID_WORKFLOW_ID",
       "message": "The Workflow ID specified is invalid"
     }

2.)

         {
       "code": "MISSING_REQUIRED_TO_FIELD",
       "message": "Required ToField tos is missing"
     }

We created the custom workflow and added the document in our library.

This is the JSON that we are using:

{

                "documentCreationInfo": {

                                "recipientsListInfo": [

                                                {

                                                                "recipients": [{"email": "test@mail.com"}],

                                                                "name": "Signer"

                                                }

                                ],

                                "name": "WorkFlowTestAgreement",

                                "fileInfos": [{

                                                "workflowLibraryDocumentId": "Our workflow ID",

                                                "name": "WorkflowTest"

                                }]

                }

}

This topic has been closed for replies.
Correct answer Meenakshi_Negi

Hi Mahmouda,

I would suggest contacting support for this issue.

I have sent you a private message with contact details. Please check your inbox.

Let us know if you have any question.

Regards,

Meenakshi

1 reply

Meenakshi_Negi
Meenakshi_NegiCorrect answer
Legend
August 25, 2017

Hi Mahmouda,

I would suggest contacting support for this issue.

I have sent you a private message with contact details. Please check your inbox.

Let us know if you have any question.

Regards,

Meenakshi