Usage
In most signing scenarios, you will want to pass data to Start signing process from template which will start a signing process based on a template created in Scrive.
The activity returns an "Id" that can be used to lookup the status of the case using Get document status.
As it may take some time for the document to be signed, you should create a while loop that will lookup the status of the case until it is either finished or rejected.
We've created a couple of snippets to explore or build from. What are snippets?
Activities
The Scrive plugin currrently includes the following activities:
Get document status
- Internal Name: GetDocumentStatus
- Description: Get a documents status. Returns a 'Status' variable with values: Preparation, Sent, Finished, or Rejected.
Input
Parameter | Example Value | Required | Description |
---|---|---|---|
Id | 9222111111111111111 | Yes | Document Id. Documents start with 9222. |
Prefix | ESign | No | Prefix for the commands output. |
Output
Key | Value | Description |
---|---|---|
ZPActivityStatus | Document status: 'status' | Status message. |
ZPErrorCode | 0, or 1 | Numeric error code. 0 for Success, 1 for fail. |
Status | Preparation, Sent, Finished, or Rejected | Documents current status in Scrive. |
Get document
- Internal Name: GetDocument
- Description: Get a documents pdf file. Returns the pdf file as a Zervicepoint File.
Input
Parameter | Example Value | Required | Description |
---|---|---|---|
Id | 9222111111111111111 | Yes | Document Id. Documents start with 9222. |
OutputVariableName | ZPMedia | No | Name of the output variable containing the File. Default set to 'ZPMedia'. |
Prefix | ESign | No | Prefix for the commands output. |
Output
Key | Value | Description |
---|---|---|
ZPErrorCode | 0, or 1 | Numeric error code. 0 for Success, 1 for fail. |
ZPMedia | Guid | Zervicepoint File Guid |
Start signing process from file
- Internal Name: StartSigningProcessFromFile
- Description: Starts a document signing process based on an uploaded file and sends requests to parties.
Input
Parameter | Example Value | Required | Description |
---|---|---|---|
PdfFileId | 2df131b1-4ad7-421d-8543-5d1ec3fec78d | Yes | Id (Guid) of the pdf file. Bind a file variable to this parameter. |
Title | Documents Title | Yes | Title of the document. |
PartyName | User One, User Two | Yes | Full name of party to sign. e.g 'John Doe'. Use comma separation to add multiple values. |
PartyEmail | user1@mail.com, user2@mail.com | Yes | Email address of party to sign. Use comma separation to add multiple values. |
PartyMobileNumber | +46709123456, +46709456789 | No | Mobile phone number. Use comma separation to add multiple values. |
PartyPersonalId | YYYYMMDD-NNNN, YYYYMMDD-NNNN | No | Personal id number (social security number). Use comma separation to add multiple values. |
PartyCompanyName | Company 1, Company 2 | No | Company Name. Use comma separation to add multiple values. |
PartyCompanyNumber | 559XXX-XXXX, 559XXX-XXXX | No | Company organizational number. Use comma separation to add multiple values. |
InvitationMessage | Invitation from ZervicePoint | No | The invitation message to send to all parties at the start of the signing process when using email invitation. |
ConfirmationMessage | Cofirmation from ZervicePoint | No | The confirmation message to send to all parties once the document has been signed. |
DaysToSign | 100 | No | Signing deadline, relative to when the case is sent. |
DaysToRemind | 10 | No | A reminder will be sent automatically to parties that haven't signed after the specified number of days. |
Prefix | ESign | No | Prefix for the output. |
Output
Key | Value | Description |
---|---|---|
ZPActivityStatus | Signing process started, or Failed to start signing process | Status message. |
ZPErrorCode | 0, or 1 | Numeric error code. 0 for Success, 1 for fail. |
Id | 9222111111111111111 | Documents Id. Documents start with 9222. |
Start signing process from file with json input
- Internal Name: StartSigningProcessFromFileWithJsonInput
- Description: Starts a document signing process based on an uploaded file and sends requests to parties specified in json.
Input
Parameter | Example Value | Required | Description |
---|---|---|---|
PdfFileId | 2df131b1-4ad7-421d-8543-5d1ec3fec78d | Yes | Id (Guid) of the pdf file. Bind a file variable to this parameter. |
Json | {Prop: Value} | Yes | Json document containing party definitions and document metadata. |
Prefix | ESign | No | Prefix for the output. |
Output
Key | Value | Description |
---|---|---|
ZPActivityStatus | Signing process started, or Failed to start signing process | Status message. |
ZPErrorCode | 0, or 1 | Numeric error code. 0 for Success, 1 for fail. |
Id | 9222111111111111111 | Documents Id. Documents start with 9222. |
Start signing process from template
- Internal Name: StartSigningProcessFromTemplate
- Description: Starts a document signing process based on a Scrive template and sends requests to parties.
Input
Parameter | Example Value | Required | Description |
---|---|---|---|
TemplateId | 9222111111111111111 | Yes | Scrive template id. |
Title | Documents Title | Yes | Title of the document. |
PartyName | User One, User Two | Yes | Full name of party to sign. e.g 'John Doe'. Use comma separation to add multiple values. |
PartyEmail | user1@mail.com, user2@mail.com | Yes | Email address of party to sign. Use comma separation to add multiple values. |
PartyMobileNumber | +46709123456, +46709456789 | No | Mobile phone number. Use comma separation to add multiple values. |
PartyPersonalId | YYYYMMDD-NNNN, YYYYMMDD-NNNN | No | Personal id number (social security number). Use comma separation to add multiple values. |
PartyCompanyName | Company 1, Company 2 | No | Company Name. Use comma separation to add multiple values. |
PartyCompanyNumber | 559XXX-XXXX, 559XXX-XXXX | No | Company organizational number. Use comma separation to add multiple values. |
InvitationMessage | Invitation from ZervicePoint | No | The invitation message to send to all parties at the start of the signing process when using email invitation. |
ConfirmationMessage | Cofirmation from ZervicePoint | No | The confirmation message to send to all parties once the document has been signed. |
DaysToSign | 100 | No | Signing deadline, relative to when the case is sent. |
DaysToRemind | 10 | No | A reminder will be sent automatically to parties that haven't signed after the specified number of days. |
Prefix | ESign | No | Prefix for the output. |
Output
Key | Value | Description |
---|---|---|
ZPActivityStatus | Signing process started, or Failed to start signing process | Status message. |
ZPErrorCode | 0, or 1 | Numeric error code. 0 for Success, 1 for fail. |
Id | 9222111111111111111 | Documents Id. Documents start with 9222. |
Start signing process from template with json input
- Internal Name: StartSigningProcessFromTemplateWithJsonInput
- Description: Starts a document signing process based on a Scrive template and sends requests to parties specified in json.
Input
Parameter | Example Value | Required | Description |
---|---|---|---|
TemplateId | 9222111111111111111 | Yes | Scrive template id. |
Json | {Prop: Value} | Yes | Json document containing party definitions and document metadata. |
Prefix | ESign | No | Prefix for the output. |
Output
Key | Value | Description |
---|---|---|
ZPActivityStatus | Signing process started, or Failed to start signing process | Status message. |
ZPErrorCode | 0, or 1 | Numeric error code. 0 for Success, 1 for fail. |
Id | 9222111111111111111 | Documents Id. Documents start with 9222. |
Validations
The following validations apply to activity input:
Name | Validation |
---|---|
DocumentId | Start with 9222, or 8222. Can only contain numbers. |
Name | Only A-Z, a-z, spaces and dashes are allowed. Maximum length is 100. |
Valid email address. eg user@mail.com. | |
Personal Id | Valid personal id (social security number). eg YYYYMMDD-NNNN. |
Mobile number | Start with +, followed by digits. eg +46123456. |
Company name | Maximum length is 100. |
Company number | Maximum length is 100. |
Uploaded Files
You can upload files and use as the signing document in your service. It's also possible to customize the uploaded document with the PDF Automator Plugin.
The following activities support uploaded files:
- Start signing process from file
- Start signing process from file with json input
Scrive Templates
You can create and design templates in Scrive and use the templates in your services by specifying the templates id as input. Follow this guide to create a template in Scrive.
The following activities support templates:
- Start signing process from template
- Start signing process from template with json input
Json Input
You can add additional configurations to your service by using json documents as input. You can either use a Partial Document, or a Full Document as input.
The following activities support json input:
- Start signing process from file with json input
- Start signing process from template with json input
Partial Document
The partial document supports the following properties and values:
Property | Type | Default Value | Description |
---|---|---|---|
Title | string | n/a | Document title |
InvitationMessage | string | n/a | The invitation message to send to all parties at the start of the signing process when using email invitation. |
ConfirmationMessage | string | n/a | The confirmation message to send to all parties once the document has been signed. |
DaysToSign | number | 90 | Signing deadline, relative to when the case is sent. |
DayrToRemind | number | n/a | A reminder will be sent automatically to parties that haven't signed after the specified number of days. |
Parties | list | List of parties |
Parties
Property | Type | Default Value | Description |
---|---|---|---|
Name | string | n/a | Full name of party to sign. e.g 'John Doe'. |
string | n/a | Email address of party to sign. | |
MobileNumber | string | n/a | Mobile phone number. |
PersonalId | string | n/a | Personal id number (social security number). |
CompanyName | string | n/a | Company Name. |
CompanyNumber | string | n/a | Company organizational number. |
InvitationOrder | number | 1 | Order to sign. |
Invitation | string | Invitation delivery method. Must be one of the following: email, mobile, email_mobile, email_link, email_link_mobile, none, pad, api. | |
Confirmation | string | Confirmation delivery method. Must be one of the following: email, mobile, email_mobile, email_link, email_link_mobile, none, pad, api. | |
AuthenticationToView | string | standard | Authentication requirements to view document. Must be one of the following: standard, sms_pin, dk_nemid_cpr, dk_nemid_cvr, dk_nemid_pid, fi_tupas, freja, nl_idin, no_bankid, onfido_document_and_photo_check, onfido_document_check, se_bankid, verimi. |
AuthenticationToSign | string | standard | Authentication requirements to sign document. Must be one of the following: standard, sms_pin, dk_nemid_cpr, dk_nemid_cvr, dk_nemid_pid, fi_tupas, freja, nl_idin, no_bankid, onfido_document_and_photo_check, onfido_document_check, se_bankid, verimi. |
Partial Document Example
{
"Title": "ZervicePoint Document",
"InvitationMessage": "Invitation from ZervicePoint",
"ConfirmationMessage": "Confirmation from ZervicePoint",
"DaysToSign": 100,
"DaysToRemind": 10,
"Parties": [
{
"Name": "User One",
"Email": "user1@mail.com",
"PersonalId": "YYYYMMDD-NNNN",
"MobileNumber": "+46709123456",
"CompanyName": "Company 1",
"CompanyNumber": "559XXX-XXXX",
"InvitationOrder": 1,
"Invitation": "email_mobile",
"Confirmation": "email_mobile",
"AuthenticationToView": "sms_pin",
"AuthenticationToSign": "se_bankid"
},
{
"Name": "User Two",
"Email": "user2@mail.com",
"PersonalId": "YYYYMMDD-NNNN",
"MobileNumber": "+46709456789",
"CompanyName": "Company 2",
"CompanyNumber": "559XXX-XXXX",
"InvitationOrder": 1,
"Invitation": "email_mobile",
"Confirmation": "email_mobile",
"AuthenticationToView": "sms_pin",
"AuthenticationToSign": "se_bankid"
}
]
}
Full Document
The full document enables you to add a complete Scrive json document as input.
The json document model is described here.
Example Services
Tips
To import the sample, Copy + Paste the form/workflow snippets to the form and workflow editors.
Start signing process - Uploaded File
The Service takes Employee and Manager information as input and starts the signing process for both parts.
Form
{"fields":[{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeMobileNumber","displayName":{"en-US":"Mobile Number"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid mobile number. Mobile number must be: +467XXXXXXXX"},"validationtype":5,"validationpattern":"^([+]46)\\s*(7[0236])\\s*(\\d{4})\\s*(\\d{3})$"},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeMobileNumber"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeePersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsEmployeeDetails","displayName":{"en-US":"Employee Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerMobileNumber","displayName":{"en-US":"Mobile Number"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid mobile number. Mobile number must be: +467XXXXXXXX"},"validationtype":5,"validationpattern":"^([+]46)\\s*(7[0236])\\s*(\\d{4})\\s*(\\d{3})$"},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerMobileNumber"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerPersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsManagerDetails","displayName":{"en-US":"Manager Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"Document","displayName":{"en-US":"Document to Sign"},"description":{"en-US":""},"type":"InputFile","size":"3","properties":{"maxFileSize":4194304},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"Document","maxFileSize":4}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsDocument","displayName":{"en-US":"Document to sign"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":false,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""}],"variables":[{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":41,"variableType":"File"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":44,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":45,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Name","description":"","id":46,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":47,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":50,"variableType":"String"},{"name":"ManagerMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":51,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":52,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":53,"variableType":"String"}]}
Workflow
{"activities":[{"id":1968,"name":"Assign Party Name","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":57,"boundTo":"PartyName"},"body":{"isBound":false,"value":"{ManagerName},{EmployeeName}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":52,"boundTo":"ManagerName"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"EmployeeName"}],"activities":[]},{"id":1969,"name":"Assign Party Email","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":55,"boundTo":"PartyEmail"},"body":{"isBound":false,"value":"{ManagerEmail},{EmployeeEmail}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":50,"boundTo":"ManagerEmail"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"EmployeeEmail"}],"activities":[]},{"id":1970,"name":"Assign Party Social Security Number","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":58,"boundTo":"PartyPersonalId"},"body":{"isBound":false,"value":"{ManagerPersonalId},{EmployeePersonalId}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":53,"boundTo":"ManagerPersonalId"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"EmployeePersonalId"}],"activities":[]},{"id":1971,"name":"Assign Party Mobile Number","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":56,"boundTo":"PartyMobileNumber"},"body":{"isBound":false,"value":"{ManagerMobileNumber},{EmployeeMobileNumber}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":51,"boundTo":"ManagerMobileNumber"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"EmployeeMobileNumber"}],"activities":[]},{"id":1972,"name":"Assign Document Title","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"DocumentTitle"},"body":{"isBound":false,"value":"Document to Sign - {EmployeeName}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"EmployeeName"}],"activities":[]},{"id":1973,"name":"StartSigningProcessFromFile","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":362,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"StartSigningProcessFromFile","providerParameters":[{"id":820,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":821,"name":"Title","description":"Title of the document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"DocumentTitle"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":822,"name":"PartyName","description":"Name of party to sign document. e.g 'John Doe'.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":57,"boundTo":"PartyName"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":823,"name":"PartyEmail","description":"Email address of party to sign document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":55,"boundTo":"PartyEmail"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":825,"name":"InvitationMessage","description":"The invitation message to send to all parties at the start of the signing process when using email invitation.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":826,"name":"ConfirmationMessage","description":"The confirmation message to send to all parties once the document has been signed.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":827,"name":"DaysToSign","description":"Signing deadline, relative to when the case is sent.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":828,"name":"DaysToRemind","description":"A reminder will be sent automatically to parties that haven't signed after the specified number of days.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":829,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":848,"name":"PartyMobileNumber","description":"Mobile phone number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":56,"boundTo":"PartyMobileNumber"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":849,"name":"PartyPersonalId","description":"Personal id number (social security number).","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":58,"boundTo":"PartyPersonalId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":850,"name":"PartyCompanyName","description":"Company name.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":851,"name":"PartyCompanyNumber","description":"Company organizational number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":820,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":821,"name":"Title","description":"Title of the document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"DocumentTitle"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":822,"name":"PartyName","description":"Name of party to sign document. e.g 'John Doe'.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":57,"boundTo":"PartyName"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":823,"name":"PartyEmail","description":"Email address of party to sign document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":55,"boundTo":"PartyEmail"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":825,"name":"InvitationMessage","description":"The invitation message to send to all parties at the start of the signing process when using email invitation.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":826,"name":"ConfirmationMessage","description":"The confirmation message to send to all parties once the document has been signed.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":827,"name":"DaysToSign","description":"Signing deadline, relative to when the case is sent.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":828,"name":"DaysToRemind","description":"A reminder will be sent automatically to parties that haven't signed after the specified number of days.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":829,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":848,"name":"PartyMobileNumber","description":"Mobile phone number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":56,"boundTo":"PartyMobileNumber"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":849,"name":"PartyPersonalId","description":"Personal id number (social security number).","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":58,"boundTo":"PartyPersonalId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":850,"name":"PartyCompanyName","description":"Company name.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":851,"name":"PartyCompanyNumber","description":"Company organizational number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":1974,"name":"ZPActivityStatus","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":59,"boundTo":"ZPActivityStatus"},"statusTranslations":{"en-US":""},"activities":[]},{"id":1975,"name":"Wait until document is signed","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"none","isBranch":false,"activities":[{"id":1976,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":1977,"name":"Set CurrentDoc Status","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"DocumentStatus"},"body":{"isBound":false,"value":"{ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"ESignStatus"}],"activities":[]},{"id":1978,"name":"While loop until ESignature is signed","type":"While","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Finished","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"iterationDelaySeconds":{"isBound":false,"value":300,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[{"id":1979,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":1980,"name":"If - Doc status has been changed","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"ESignStatus"},"right":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"DocumentStatus"}},"activities":[{"id":1981,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":1982,"name":"Construct status for end-user","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"OrderState"},"body":{"isBound":false,"value":"Document status - {ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"ESignStatus"}],"activities":[]},{"id":1983,"name":"State","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"OrderState"},"statusTranslations":{"en-US":""},"activities":[]}]},{"id":1987,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]},{"id":1984,"name":"If - Doc is rejected","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"equal","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Rejected","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"activities":[{"id":1985,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":1986,"name":"Rejected","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":false,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"statusTranslations":{"en-US":"Document was rejected"},"activities":[]},{"id":1988,"name":"New End process activity","type":"Terminate","properties":{"translations":{}},"isEnabled":true,"activities":[]}]},{"id":1989,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]}]}]}],"variables":[{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":41,"variableType":"File"},{"name":"DocumentStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":42,"variableType":"String"},{"name":"DocumentTitle","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":43,"variableType":"String"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":44,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":45,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Name","description":"","id":46,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":47,"variableType":"String"},{"name":"ESignId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":48,"variableType":"String"},{"name":"ESignStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":49,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":50,"variableType":"String"},{"name":"ManagerMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":51,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":52,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":53,"variableType":"String"},{"name":"OrderState","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":54,"variableType":"String"},{"name":"PartyEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":55,"variableType":"String"},{"name":"PartyMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":56,"variableType":"String"},{"name":"PartyName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":57,"variableType":"String"},{"name":"PartyPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":58,"variableType":"String"},{"name":"ZPActivityStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":59,"variableType":"String"}]}
Start signing process - Template
The Service takes Employee and Manager information as input and starts the signing process for both parts based on a template.
- Change the template id in the workflow to an existing template id in your environment.
Form
{"fields":[{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeMobileNumber","displayName":{"en-US":"Mobile Number"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid mobile number. Mobile number must be: +467XXXXXXXX"},"validationtype":5,"validationpattern":"^([+]46)\\s*(7[0236])\\s*(\\d{4})\\s*(\\d{3})$"},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeMobileNumber"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeePersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsEmployeeDetails","displayName":{"en-US":"Employee Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerMobileNumber","displayName":{"en-US":"Mobile Number"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid mobile number. Mobile number must be: +467XXXXXXXX"},"validationtype":5,"validationpattern":"^([+]46)\\s*(7[0236])\\s*(\\d{4})\\s*(\\d{3})$"},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerMobileNumber"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerPersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsManagerDetails","displayName":{"en-US":"Manager Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""}],"variables":[{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":43,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":44,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Name","description":"","id":45,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":46,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":49,"variableType":"String"},{"name":"ManagerMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":50,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":51,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":52,"variableType":"String"}]}
Workflow
{"activities":[{"id":2125,"name":"Assign Template Id","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":58,"boundTo":"TemplateId"},"body":{"isBound":false,"value":"8222115557376735040","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[],"activities":[]},{"id":2126,"name":"Assign Party Name","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":56,"boundTo":"PartyName"},"body":{"isBound":false,"value":"{ManagerName},{EmployeeName}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":51,"boundTo":"ManagerName"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"EmployeeName"}],"activities":[]},{"id":2127,"name":"Assign Party Email","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"PartyEmail"},"body":{"isBound":false,"value":"{ManagerEmail},{EmployeeEmail}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"ManagerEmail"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"EmployeeEmail"}],"activities":[]},{"id":2128,"name":"Assign Mobile Number","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":55,"boundTo":"PartyMobileNumber"},"body":{"isBound":false,"value":"{ManagerMobileNumber},{EmployeeMobileNumber}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":50,"boundTo":"ManagerMobileNumber"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"EmployeeMobileNumber"}],"activities":[]},{"id":2129,"name":"Assign Party Personal Id","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":57,"boundTo":"PartyPersonalId"},"body":{"isBound":false,"value":"{ManagerPersonalId},{EmployeePersonalId}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":52,"boundTo":"ManagerPersonalId"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"EmployeePersonalId"}],"activities":[]},{"id":2130,"name":"Assign Document Title","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"DocumentTitle"},"body":{"isBound":false,"value":"Document to Sign - {EmployeeName}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"EmployeeName"}],"activities":[]},{"id":2131,"name":"StartSigningProcessFromTemplate","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":364,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"StartSigningProcessFromTemplate","providerParameters":[{"id":833,"name":"TemplateId","description":"Scrive template id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":58,"boundTo":"TemplateId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":834,"name":"Title","description":"Title of the document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"DocumentTitle"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":835,"name":"PartyName","description":"Name of party to sign document. e.g 'John Doe'.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":56,"boundTo":"PartyName"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":836,"name":"PartyEmail","description":"Email address of party to sign document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"PartyEmail"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":838,"name":"InvitationMessage","description":"The invitation message to send to all parties at the start of the signing process when using email invitation.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":839,"name":"ConfirmationMessage","description":"The confirmation message to send to all parties once the document has been signed.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":840,"name":"DaysToSign","description":"Signing deadline, relative to when the case is sent.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":841,"name":"DaysToRemind","description":"A reminder will be sent automatically to parties that haven't signed after the specified number of days.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":842,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":852,"name":"PartyMobileNumber","description":"Mobile phone number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":55,"boundTo":"PartyMobileNumber"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":853,"name":"PartyPersonalId","description":"Personal id number (social security number).","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":57,"boundTo":"PartyPersonalId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":854,"name":"PartyCompanyName","description":"Company name.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":855,"name":"PartyCompanyNumber","description":"Company organizational number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":833,"name":"TemplateId","description":"Scrive template id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":58,"boundTo":"TemplateId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":834,"name":"Title","description":"Title of the document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"DocumentTitle"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":835,"name":"PartyName","description":"Name of party to sign document. e.g 'John Doe'.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":56,"boundTo":"PartyName"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":836,"name":"PartyEmail","description":"Email address of party to sign document.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"PartyEmail"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":838,"name":"InvitationMessage","description":"The invitation message to send to all parties at the start of the signing process when using email invitation.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":839,"name":"ConfirmationMessage","description":"The confirmation message to send to all parties once the document has been signed.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":840,"name":"DaysToSign","description":"Signing deadline, relative to when the case is sent.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":841,"name":"DaysToRemind","description":"A reminder will be sent automatically to parties that haven't signed after the specified number of days.","inputDisabled":false,"providerParameterType":"decimal","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":842,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":852,"name":"PartyMobileNumber","description":"Mobile phone number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":55,"boundTo":"PartyMobileNumber"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":853,"name":"PartyPersonalId","description":"Personal id number (social security number).","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":57,"boundTo":"PartyPersonalId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":854,"name":"PartyCompanyName","description":"Company name.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":855,"name":"PartyCompanyNumber","description":"Company organizational number.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2132,"name":"ZPActivityStatus","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":59,"boundTo":"ZPActivityStatus"},"statusTranslations":{"en-US":""},"activities":[]},{"id":2133,"name":"Wait until document is signed","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"none","isBranch":false,"activities":[{"id":2134,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2135,"name":"Set CurrentDoc Status","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"DocumentStatus"},"body":{"isBound":false,"value":"{ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignStatus"}],"activities":[]},{"id":2136,"name":"While loop until ESignature is signed","type":"While","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Finished","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"iterationDelaySeconds":{"isBound":false,"value":300,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[{"id":2137,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2138,"name":"If - Doc status has been changed","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignStatus"},"right":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"DocumentStatus"}},"activities":[{"id":2139,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":2140,"name":"Construct status for end-user","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":53,"boundTo":"OrderState"},"body":{"isBound":false,"value":"Document status - {ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignStatus"}],"activities":[]},{"id":2141,"name":"State","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":53,"boundTo":"OrderState"},"statusTranslations":{"en-US":""},"activities":[]}]},{"id":2145,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]},{"id":2142,"name":"If - Doc is rejected","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"equal","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Rejected","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"activities":[{"id":2143,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":2144,"name":"Rejected","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":false,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"statusTranslations":{"en-US":"Document was rejected"},"activities":[]},{"id":2146,"name":"New End process activity","type":"Terminate","properties":{"translations":{}},"isEnabled":true,"activities":[]}]},{"id":2147,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]}]}]}],"variables":[{"name":"DocumentStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":41,"variableType":"String"},{"name":"DocumentTitle","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":42,"variableType":"String"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":43,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":44,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Name","description":"","id":45,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":46,"variableType":"String"},{"name":"ESignId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":47,"variableType":"String"},{"name":"ESignStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":48,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":49,"variableType":"String"},{"name":"ManagerMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":50,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":51,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":52,"variableType":"String"},{"name":"OrderState","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":53,"variableType":"String"},{"name":"PartyEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":54,"variableType":"String"},{"name":"PartyMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":55,"variableType":"String"},{"name":"PartyName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":56,"variableType":"String"},{"name":"PartyPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":57,"variableType":"String"},{"name":"TemplateId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":58,"variableType":"String"},{"name":"ZPActivityStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":59,"variableType":"String"}]}
Start signing process - Uploaded File With JSON
The Service takes Employee and Manager information as input and starts the signing process for both parts.
- Configure the json document in the workflow to add more functionality.
Form
{"fields":[{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeePersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsEmployeeDetails","displayName":{"en-US":"Employee Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":0,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerPersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsManagerDetails","displayName":{"en-US":"Manager Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"Document","displayName":{"en-US":"Document to Sign"},"description":{"en-US":""},"type":"InputFile","size":"3","properties":{"maxFileSize":4194304},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"Document","maxFileSize":4}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsDocument","displayName":{"en-US":"Document to sign"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":false,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""}],"variables":[{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":42,"variableType":"File"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":43,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"EmployeeName","description":"","id":51,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":44,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerEmail","description":"","id":54,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerName","description":"","id":52,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":48,"variableType":"String"}]}
Workflow
{"activities":[{"id":2168,"name":"Assign Document Title","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":53,"boundTo":"DocumentTitle"},"body":{"isBound":false,"value":"Document to Sign - {EmployeeName}, {ManagerName}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":51,"boundTo":"EmployeeName"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":52,"boundTo":"ManagerName"}],"activities":[]},{"id":2169,"name":"ESignDocumentObject","type":"Code","properties":{"translations":{}},"isEnabled":true,"parameters":[{"name":"Json","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"Json"}},{"name":"DocumentTitle","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":53,"boundTo":"DocumentTitle"}},{"name":"EmployeeName","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":51,"boundTo":"EmployeeName"}},{"name":"EmployeeEmail","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"EmployeeEmail"}},{"name":"EmployeePersonalId","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"EmployeePersonalId"}},{"name":"ManagerName","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":52,"boundTo":"ManagerName"}},{"name":"ManagerEmail","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"ManagerEmail"}},{"name":"ManagerPersonalId","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"ManagerPersonalId"}}],"script":{"isBound":false,"value":"var jsonObject = {\n \"Title\": DocumentTitle,\n \"Parties\": [\n {\n \"Name\": EmployeeName,\n \"Email\": EmployeeEmail,\n \"PersonalId\": EmployeePersonalId\n },\n {\n \"Name\": ManagerName,\n \"Email\": ManagerEmail,\n \"PersonalId\": ManagerPersonalId\n }\n ]\n}\n\nvar Json = JSON.stringify(jsonObject)","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[]},{"id":2170,"name":"StartSigningProcessFromFileWithJson","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":363,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"StartSigningProcessFromFileWithJson","providerParameters":[{"id":830,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":831,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":832,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":830,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":831,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":832,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2171,"name":"ZPActivityStatus","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":50,"boundTo":"ZPActivityStatus"},"statusTranslations":{"en-US":""},"activities":[]},{"id":2172,"name":"Wait until document is signed","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"none","isBranch":false,"activities":[{"id":2173,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2174,"name":"Set CurrentDoc Status","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"CurrentDocStatus"},"body":{"isBound":false,"value":"{ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"ESignStatus"}],"activities":[]},{"id":2175,"name":"While loop until ESignature is signed","type":"While","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Finished","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"iterationDelaySeconds":{"isBound":false,"value":300,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[{"id":2176,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2177,"name":"If - Doc status has been changed","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"ESignStatus"},"right":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"CurrentDocStatus"}},"activities":[{"id":2178,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":2179,"name":"Construct status for end-user","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"OrderState"},"body":{"isBound":false,"value":"Document status - {ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"ESignStatus"}],"activities":[]},{"id":2180,"name":"State","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"OrderState"},"statusTranslations":{"en-US":""},"activities":[]}]},{"id":2184,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]},{"id":2181,"name":"If - Doc is rejected","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"equal","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Rejected","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"activities":[{"id":2182,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":2183,"name":"Rejected","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":false,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"statusTranslations":{"en-US":"Document was rejected"},"activities":[]},{"id":2185,"name":"New End process activity","type":"Terminate","properties":{"translations":{}},"isEnabled":true,"activities":[]}]},{"id":2186,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]}]}]}],"variables":[{"name":"CurrentDocStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":41,"variableType":"String"},{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":42,"variableType":"File"},{"name":"DocumentTitle","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"DocumentName","description":"","id":53,"variableType":"String"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":43,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"EmployeeName","description":"","id":51,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":44,"variableType":"String"},{"name":"ESignId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":45,"variableType":"String"},{"name":"ESignStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":46,"variableType":"String"},{"name":"Json","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":47,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerEmail","description":"","id":54,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerName","description":"","id":52,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":48,"variableType":"String"},{"name":"OrderState","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":49,"variableType":"String"},{"name":"ZPActivityStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":50,"variableType":"String"}]}
Start signing process - Template With JSON
The Service takes Employee and Manager information as input and starts the signing process for both parts based on a template.
- Change the template id in the workflow to an existing template id in your environment.
- Configure the json document in the workflow to add more functionality.
Form
{"fields":[{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeePersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsEmployeeDetails","displayName":{"en-US":"Employee Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"ManagerSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"ManagerPersonalId"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsManagerDetails","displayName":{"en-US":"Manager Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""}],"variables":[{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":42,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"EmployeeName","description":"","id":51,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":43,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerEmail","description":"","id":52,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerName","description":"","id":53,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":47,"variableType":"String"}]}
Workflow
{"activities":[{"id":2148,"name":"Assign Template Id","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"TemplateId"},"body":{"isBound":false,"value":"8222115557376735040","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[],"activities":[]},{"id":2149,"name":"Assign Document Title","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"DocumentTitle"},"body":{"isBound":false,"value":"Document to Sign - {EmployeeName}, {ManagerName}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":51,"boundTo":"EmployeeName"},{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":53,"boundTo":"ManagerName"}],"activities":[]},{"id":2150,"name":"ESignDocumentObject","type":"Code","properties":{"translations":{}},"isEnabled":true,"parameters":[{"name":"Json","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"Json"}},{"name":"DocumentTitle","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":54,"boundTo":"DocumentTitle"}},{"name":"EmployeeName","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":51,"boundTo":"EmployeeName"}},{"name":"EmployeeEmail","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"EmployeeEmail"}},{"name":"EmployeePersonalId","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"EmployeePersonalId"}},{"name":"ManagerName","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":53,"boundTo":"ManagerName"}},{"name":"ManagerEmail","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":52,"boundTo":"ManagerEmail"}},{"name":"ManagerPersonalId","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"ManagerPersonalId"}}],"script":{"isBound":false,"value":"var jsonObject = {\n \"Title\": DocumentTitle,\n \"Parties\": [\n {\n \"Name\": ManagerName,\n \"Email\": ManagerEmail,\n \"PersonalId\": ManagerPersonalId\n },\n {\n \"Name\": EmployeeName,\n \"Email\": EmployeeEmail,\n \"PersonalId\": EmployeePersonalId\n }\n ]\n}\n\nvar Json = JSON.stringify(jsonObject)","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[]},{"id":2151,"name":"StartSigningProcessFromTemplateWithJson","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":365,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"StartSigningProcessFromTemplateWithJson","providerParameters":[{"id":843,"name":"TemplateId","description":"Scrive template id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"TemplateId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":844,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":845,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":843,"name":"TemplateId","description":"Scrive template id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":49,"boundTo":"TemplateId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":844,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":845,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2152,"name":"ZPActivityStatus","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":50,"boundTo":"ZPActivityStatus"},"statusTranslations":{"en-US":""},"activities":[]},{"id":2153,"name":"Wait until document is signed","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"none","isBranch":false,"activities":[{"id":2154,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2155,"name":"Set CurrentDoc Status","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"CurrentDocStatus"},"body":{"isBound":false,"value":"{ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignStatus"}],"activities":[]},{"id":2156,"name":"While loop until ESignature is signed","type":"While","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Finished","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"iterationDelaySeconds":{"isBound":false,"value":300,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[{"id":2157,"name":"GetDocumentStatus","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":361,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"GetDocumentStatus","providerParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":818,"name":"Id","description":"Document id.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"ESignId"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":819,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"static","value":"ESign","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]},{"id":2158,"name":"If - Doc status has been changed","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"notEqual","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignStatus"},"right":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"CurrentDocStatus"}},"activities":[{"id":2159,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":2160,"name":"Construct status for end-user","type":"Assign","properties":{"translations":{}},"isEnabled":true,"result":{"isBound":true,"value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"OrderState"},"body":{"isBound":false,"value":"Document status - {ESignStatus}","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"assignedVariables":[{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignStatus"}],"activities":[]},{"id":2161,"name":"State","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":48,"boundTo":"OrderState"},"statusTranslations":{"en-US":""},"activities":[]}]},{"id":2165,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]},{"id":2162,"name":"If - Doc is rejected","type":"If","properties":{"translations":{}},"isEnabled":true,"expression":{"type":"EqualityExpression","operand":"equal","left":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"ESignStatus"},"right":{"isBound":false,"value":"Rejected","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""}},"activities":[{"id":2163,"name":"Then","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"then","isBranch":false,"activities":[{"id":2164,"name":"Rejected","type":"Status","properties":{"translations":{}},"isEnabled":true,"status":{"isBound":false,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"statusTranslations":{"en-US":"Document was rejected"},"activities":[]},{"id":2166,"name":"New End process activity","type":"Terminate","properties":{"translations":{}},"isEnabled":true,"activities":[]}]},{"id":2167,"name":"Else","type":"Sequence","properties":{"translations":{}},"isEnabled":true,"subType":"else","isBranch":false,"activities":[]}]}]}]}],"variables":[{"name":"CurrentDocStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":41,"variableType":"String"},{"name":"DocumentTitle","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"DocumentName","description":"","id":54,"variableType":"String"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":42,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"EmployeeName","description":"","id":51,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":43,"variableType":"String"},{"name":"ESignId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":44,"variableType":"String"},{"name":"ESignStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":45,"variableType":"String"},{"name":"Json","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":46,"variableType":"String"},{"name":"ManagerEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerEmail","description":"","id":52,"variableType":"String"},{"name":"ManagerName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"ManagerName","description":"","id":53,"variableType":"String"},{"name":"ManagerPersonalId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":47,"variableType":"String"},{"name":"OrderState","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":48,"variableType":"String"},{"name":"TemplateId","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":49,"variableType":"String"},{"name":"ZPActivityStatus","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":50,"variableType":"String"}]}
Start signing process - Partial Document
The Service takes Employee information as input and starts the signing process based on a partial document json configuration.
Form
{"fields":[{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeName","displayName":{"en-US":"Name"},"description":{"en-US":"Name of signee. e.g 'John Doe'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":1,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeePersonalId"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"InputText","displayName":{"en-US":"Mobile Number"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid mobile number. Mobile number must be: +467XXXXXXXX"},"validationtype":5,"validationpattern":"^([+]46)\\s*(7[0236])\\s*(\\d{4})\\s*(\\d{3})$"},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeMobileNumber"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsEmployeeDetails","displayName":{"en-US":"Employee Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"Document","displayName":{"en-US":"Document to Sign"},"description":{"en-US":""},"type":"InputFile","size":"3","properties":{"maxFileSize":4194304},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"Document","maxFileSize":4}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsDocument","displayName":{"en-US":"Document to sign"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":false,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""}],"variables":[{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":41,"variableType":"File"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":45,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":43,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"EmployeeName","description":"","id":44,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":46,"variableType":"String"}]}
Workflow
{"activities":[{"id":2187,"name":"ESignDocumentObject","type":"Code","properties":{"translations":{}},"isEnabled":true,"parameters":[{"name":"Json","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"Json"}},{"name":"EmployeeName","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"EmployeeName"}},{"name":"EmployeeEmail","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"EmployeeEmail"}},{"name":"EmployeePersonalId","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"EmployeePersonalId"}},{"name":"EmployeeMobileNumber","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"EmployeeMobileNumber"}}],"script":{"isBound":false,"value":"var jsonObject = {\r\n \"Title\": \"ZervicePoint Document\",\r\n \"InvitationMessage\": \"Invitation from ZervicePoint\",\r\n \"ConfirmationMessage\": \"Confirmation from ZervicePoint\",\r\n \"DaysToSign\": 100,\r\n \"DaysToRemind\": 10,\r\n \"Parties\": [\r\n {\r\n \"Name\": EmployeeName,\r\n \"Email\": EmployeeEmail,\r\n \"PersonalId\": EmployeePersonalId,\r\n \"MobileNumber\": EmployeeMobileNumber,\r\n \"CompanyName\": \"ZervicePoint\",\r\n \"CompanyNumber\": \"559240-0591\",\r\n \"InvitationOrder\": 1,\r\n \"Invitation\": \"email_mobile\",\r\n \"Confirmation\": \"email_mobile\",\r\n \"AuthenticationToView\": \"sms_pin\",\r\n \"AuthenticationToSign\": \"se_bankid\"\r\n }\r\n ]\r\n }\r\n \r\n var Json = JSON.stringify(jsonObject)","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[]},{"id":2188,"name":"StartSigningProcessFromFileWithJson","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":363,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"StartSigningProcessFromFileWithJson","providerParameters":[{"id":830,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":831,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":832,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":830,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":831,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":832,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]}],"variables":[{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":41,"variableType":"File"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":45,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":43,"variableType":"String"},{"name":"EmployeeName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":true,"isOutputParameter":false,"isRequired":true,"displayName":"EmployeeName","description":"","id":44,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":46,"variableType":"String"},{"name":"Json","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":42,"variableType":"String"}]}
Start signing process - Full Document
The Service takes Employee information as input and starts the signing process based on a full document json configuration.
Form
{"fields":[{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"InputText1","displayName":{"en-US":"First Name"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":0,"validationpattern":""},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeFirstName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"InputText2","displayName":{"en-US":"Last Name"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":0,"validationpattern":""},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeLastName"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeEmail","displayName":{"en-US":"Email"},"description":{"en-US":"e.g 'john.doe@example.com'"},"type":"InputText","size":"4","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":""},"validationtype":2,"validationpattern":""},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeEmail"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"EmployeeSocialSecurityNumber","displayName":{"en-US":"Personal ID"},"description":{"en-US":"e.g YYYYMMDD-NNNN"},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid personal id, personal id must be: YYYYMMDD-NNNN"},"validationtype":5,"validationpattern":"^(19|20)?(\\d{6}(-|\\s)\\d{4}|(?!19|20)\\d{10})$"},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeePersonalId"},{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"InputText","displayName":{"en-US":"Mobile Number"},"description":{"en-US":""},"type":"InputText","size":"3","properties":{"defaultvalue":{"en-US":""},"validationmessage":{"en-US":"Invalid mobile number. Mobile number must be: +467XXXXXXXX"},"validationtype":5,"validationpattern":"^([+]46)\\s*(7[0236])\\s*(\\d{4})\\s*(\\d{3})$"},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"EmployeeMobileNumber"}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsEmployeeDetails","displayName":{"en-US":"Employee Details"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":true,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""},{"fieldsViewModel":{"fields":[{"fieldsViewModel":{"fields":[],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"Document","displayName":{"en-US":"Document to Sign"},"description":{"en-US":""},"type":"InputFile","size":"3","properties":{"maxFileSize":4194304},"required":true,"readonly":false,"hidden":false,"lineBreak":false,"isBound":true,"onLoad":"","onChange":"","onSubmit":"","boundTo":"Document","maxFileSize":4}],"displayContextMenuEnableAction":false,"displayContextMenuDisableAction":false},"isEnabled":true,"name":"fsDocument","displayName":{"en-US":"Document to sign"},"description":{"en-US":""},"type":"FormSection","size":"1","properties":{"direction":0,"chrome":false,"fullwidth":true},"required":false,"readonly":false,"hidden":false,"lineBreak":false,"isBound":false,"onLoad":"","onChange":"","onSubmit":"","boundTo":""}],"variables":[{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":41,"variableType":"File"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":45,"variableType":"String"},{"name":"EmployeeFirstName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":43,"variableType":"String"},{"name":"EmployeeLastName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":47,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":42,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":46,"variableType":"String"}]}
Workflow
{"activities":[{"id":2195,"name":"ESignDocumentObject","type":"Code","properties":{"translations":{}},"isEnabled":true,"parameters":[{"name":"Json","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"Json"}},{"name":"EmployeeFirstName","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":43,"boundTo":"EmployeeFirstName"}},{"name":"EmployeeEmail","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":45,"boundTo":"EmployeeEmail"}},{"name":"EmployeePersonalId","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":46,"boundTo":"EmployeePersonalId"}},{"name":"EmployeeMobileNumber","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":42,"boundTo":"EmployeeMobileNumber"}},{"name":"EmployeeLastName","value":{"isBound":true,"value":"","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":47,"boundTo":"EmployeeLastName"}}],"script":{"isBound":false,"value":"var jsonObject = {\r\n \"title\": \"Test\",\r\n \"parties\": [\r\n {\r\n \"id\": \"3472816\",\r\n \"user_id\": \"5689\",\r\n \"is_author\": true,\r\n \"is_signatory\": false,\r\n \"signatory_role\": \"viewer\",\r\n \"fields\": [\r\n {\r\n \"type\": \"full_name\",\r\n \"placements\": [],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"name\",\r\n \"order\": 1,\r\n \"value\": \"ZervicePoint\",\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": true,\r\n \"placements\": [],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"name\",\r\n \"order\": 2,\r\n \"value\": \"HR Account\",\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": true,\r\n \"placements\": [],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"email\",\r\n \"value\": \"niklas.goude@zervicepoint.com\",\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": true,\r\n \"editable_by_signatory\": false,\r\n \"placements\": [],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"company\",\r\n \"value\": \"\",\r\n \"is_obligatory\": false,\r\n \"should_be_filled_by_sender\": false,\r\n \"placements\": [],\r\n \"description\": null\r\n }\r\n ],\r\n \"consent_module\": null,\r\n \"sign_order\": 1,\r\n \"sign_time\": null,\r\n \"seen_time\": null,\r\n \"read_invitation_time\": null,\r\n \"rejected_time\": null,\r\n \"rejection_reason\": null,\r\n \"sign_success_redirect_url\": null,\r\n \"reject_redirect_url\": null,\r\n \"email_delivery_status\": \"unknown\",\r\n \"mobile_delivery_status\": \"unknown\",\r\n \"confirmation_email_delivery_status\": \"unknown\",\r\n \"has_authenticated_to_view\": false,\r\n \"csv\": null,\r\n \"delivery_method\": \"email\",\r\n \"authentication_method_to_view\": \"standard\",\r\n \"authentication_method_to_view_archived\": \"standard\",\r\n \"authentication_method_to_sign\": \"standard\",\r\n \"confirmation_delivery_method\": \"email\",\r\n \"notification_delivery_method\": \"none\",\r\n \"allows_highlighting\": false,\r\n \"hide_personal_number\": false,\r\n \"can_forward\": false,\r\n \"attachments\": [],\r\n \"highlighted_pages\": [],\r\n \"api_delivery_url\": null,\r\n \"is_visible\": null\r\n },\r\n {\r\n \"id\": \"3472817\",\r\n \"user_id\": null,\r\n \"is_author\": false,\r\n \"is_signatory\": true,\r\n \"signatory_role\": \"signing_party\",\r\n \"fields\": [\r\n {\r\n \"type\": \"name\",\r\n \"order\": 1,\r\n \"value\": EmployeeFirstName,\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": true,\r\n \"placements\": [\r\n {\r\n \"xrel\": 0.133047849,\r\n \"yrel\": 0.175509259,\r\n \"wrel\": 0.09,\r\n \"hrel\": 0.025,\r\n \"fsrel\": 0.0168421045,\r\n \"page\": 1,\r\n \"tip\": \"left\",\r\n \"anchors\": []\r\n }\r\n ],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"name\",\r\n \"order\": 2,\r\n \"value\": EmployeeLastName,\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": true,\r\n \"placements\": [\r\n {\r\n \"xrel\": 0.299406141,\r\n \"yrel\": 0.1754097,\r\n \"wrel\": 0.09,\r\n \"hrel\": 0.025,\r\n \"fsrel\": 0.0168421045,\r\n \"page\": 1,\r\n \"tip\": \"left\",\r\n \"anchors\": []\r\n }\r\n ],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"email\",\r\n \"value\": EmployeeEmail,\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": true,\r\n \"editable_by_signatory\": false,\r\n \"placements\": [\r\n {\r\n \"xrel\": 0.133047849,\r\n \"yrel\": 0.251162142,\r\n \"wrel\": 0.09,\r\n \"hrel\": 0.025,\r\n \"fsrel\": 0.0168421045,\r\n \"page\": 1,\r\n \"tip\": \"left\",\r\n \"anchors\": []\r\n }\r\n ],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"full_name\",\r\n \"placements\": [],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"company\",\r\n \"value\": \"\",\r\n \"is_obligatory\": false,\r\n \"should_be_filled_by_sender\": false,\r\n \"placements\": [],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"mobile\",\r\n \"value\": EmployeeMobileNumber,\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": false,\r\n \"editable_by_signatory\": false,\r\n \"placements\": [\r\n {\r\n \"xrel\": 0.135867476,\r\n \"yrel\": 0.326914579,\r\n \"wrel\": 0.09,\r\n \"hrel\": 0.025,\r\n \"fsrel\": 0.0168421045,\r\n \"page\": 1,\r\n \"tip\": \"left\",\r\n \"anchors\": []\r\n }\r\n ],\r\n \"description\": null\r\n },\r\n {\r\n \"type\": \"personal_number\",\r\n \"value\": EmployeePersonalId,\r\n \"is_obligatory\": true,\r\n \"should_be_filled_by_sender\": false,\r\n \"placements\": [\r\n {\r\n \"xrel\": 0.133047849,\r\n \"yrel\": 0.38472566,\r\n \"wrel\": 0.09,\r\n \"hrel\": 0.025,\r\n \"fsrel\": 0.0168421045,\r\n \"page\": 1,\r\n \"tip\": \"left\",\r\n \"anchors\": []\r\n }\r\n ],\r\n \"description\": null\r\n }\r\n ],\r\n \"consent_module\": null,\r\n \"sign_order\": 1,\r\n \"sign_time\": null,\r\n \"seen_time\": null,\r\n \"read_invitation_time\": null,\r\n \"rejected_time\": null,\r\n \"rejection_reason\": null,\r\n \"sign_success_redirect_url\": null,\r\n \"reject_redirect_url\": null,\r\n \"email_delivery_status\": \"unknown\",\r\n \"mobile_delivery_status\": \"unknown\",\r\n \"confirmation_email_delivery_status\": \"unknown\",\r\n \"has_authenticated_to_view\": false,\r\n \"csv\": null,\r\n \"delivery_method\": \"email\",\r\n \"authentication_method_to_view\": \"standard\",\r\n \"authentication_method_to_view_archived\": \"standard\",\r\n \"authentication_method_to_sign\": \"standard\",\r\n \"confirmation_delivery_method\": \"email\",\r\n \"notification_delivery_method\": \"none\",\r\n \"allows_highlighting\": false,\r\n \"hide_personal_number\": false,\r\n \"can_forward\": false,\r\n \"attachments\": [],\r\n \"highlighted_pages\": [],\r\n \"api_delivery_url\": null,\r\n \"is_visible\": null\r\n }\r\n ],\r\n \"ctime\": \"2021-12-10T15:46:31.47345Z\",\r\n \"mtime\": \"2021-12-10T15:46:58.07525Z\",\r\n \"timeout_time\": null,\r\n \"auto_remind_time\": null,\r\n \"status\": \"preparation\",\r\n \"days_to_sign\": 90,\r\n \"days_to_remind\": null,\r\n \"display_options\": {\r\n \"show_header\": true,\r\n \"show_pdf_download\": true,\r\n \"show_reject_option\": true,\r\n \"allow_reject_reason\": true,\r\n \"show_footer\": true,\r\n \"document_is_receipt\": false,\r\n \"show_arrow\": true,\r\n \"show_form\": false\r\n },\r\n \"invitation_message\": \"\",\r\n \"confirmation_message\": \"\",\r\n \"sms_invitation_message\": \"\",\r\n \"sms_confirmation_message\": \"\",\r\n \"lang\": \"en\",\r\n \"api_callback_url\": null,\r\n \"object_version\": 4,\r\n \"access_token\": \"443e30faad230864\",\r\n \"timezone\": \"Europe/Stockholm\",\r\n \"tags\": [],\r\n \"is_template\": false,\r\n \"is_saved\": true,\r\n \"folder_id\": \"72193\",\r\n \"is_shared\": false,\r\n \"is_trashed\": false,\r\n \"is_deleted\": false,\r\n \"viewer\": {\r\n \"signatory_id\": \"3472816\",\r\n \"role\": \"signatory\"\r\n },\r\n \"shareable_link\": null,\r\n \"from_shareable_link\": false,\r\n \"experimental_features\": {\r\n \"user_group_to_impersonate_for_eid\": null,\r\n \"use_new_signview\": false\r\n }\r\n }\r\n\r\nvar Json = JSON.stringify(jsonObject)","hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"activities":[]},{"id":2196,"name":"StartSigningProcessFromFileWithJson","type":"Provider","properties":{"translations":{}},"isEnabled":true,"methodId":363,"package":"Scrive Plugin","module":"ZervicePoint.Plugin.Scrive.Activity.ScriveActivity","method":"StartSigningProcessFromFileWithJson","providerParameters":[{"id":830,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":831,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":832,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"additionalProviderParameters":[],"stopOnError":true,"providerResult":{"isBound":false,"value":false,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"allProviderParameters":[{"id":830,"name":"PdfFileId","description":"Id (Guid) of the pdf file. Bind a file variable to this parameter.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":41,"boundTo":"Document"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":831,"name":"Json","description":"Json document containing party definitions and document metadata.","inputDisabled":false,"providerParameterType":"string","required":true,"value":{"state":"bound","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":44,"boundTo":"Json"},"isAdditional":false,"hasValue":true,"needsValue":false,"isDuplicate":false,"isValid":true},{"id":832,"name":"Prefix","description":"Prefix for the commands output.","inputDisabled":false,"providerParameterType":"string","required":false,"value":{"state":"notSet","value":null,"hasWarning":false,"warningText":"","isBoundToSystemVariable":false,"boundToId":0,"boundTo":""},"isAdditional":false,"hasValue":false,"needsValue":false,"isDuplicate":false,"isValid":true}],"activities":[]}],"variables":[{"name":"Document","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"document","description":"","id":41,"variableType":"File"},{"name":"EmployeeEmail","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"Email","description":"","id":45,"variableType":"String"},{"name":"EmployeeFirstName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":43,"variableType":"String"},{"name":"EmployeeLastName","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":47,"variableType":"String"},{"name":"EmployeeMobileNumber","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":42,"variableType":"String"},{"name":"EmployeePersonalId","value":"","shouldHide":true,"hideAll":false,"hideLength":0,"hideStartIndex":9,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"SocialSecurityNumber","description":"","id":46,"variableType":"String"},{"name":"Json","value":"","shouldHide":false,"hideAll":false,"hideLength":1,"hideStartIndex":1,"isInputParameter":false,"isOutputParameter":false,"isRequired":false,"displayName":"NewVariable","description":"","id":44,"variableType":"String"}]}