File tree Expand file tree Collapse file tree
eSignature/examples/eg023_idv_authentication Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ def worker(args):
6666 # Create your signature tab
6767 sign_here1 = SignHere (
6868 name = "SignHereTab" ,
69- x_position = "75 " ,
70- y_position = "572 " ,
69+ x_position = "200 " ,
70+ y_position = "160 " ,
7171 tab_label = "SignHereTab" ,
7272 page_number = "1" ,
7373 document_id = "1" ,
@@ -109,10 +109,20 @@ def get_workflow(args):
109109
110110 # Check that idv authentication is enabled
111111 if workflow_response .identity_verification :
112- workflow_id = workflow_response .identity_verification [0 ].workflow_id
113- app .logger .info ("We found the following workflowID: " + workflow_id )
112+ # Find the workflow ID corresponding to the name "DocuSign ID Verification"
113+ workflow_id = None
114+
115+ for workflow in workflow_response .identity_verification :
116+ if workflow .default_name == "DocuSign ID Verification" :
117+ workflow_id = workflow .workflow_id
118+ break
119+
120+ if workflow_id is not None :
121+ app .logger .info ("We found the following workflowID: " + workflow_id )
122+ else :
123+ app .logger .info ("No workflowID was found for DocuSign ID Verification." )
124+
114125 session ['workflow_id' ] = workflow_id
115-
116126 return workflow_id
117127
118128 else :
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ <h4>23. Require ID verification (IDV) for a recipient</h4>
4444{% else %}
4545 < b > ID verification is available to develop API integrations in the DocuSign Developer account,
4646 but is not enabled by default. To enable IDV in your Developer account and/or production account,
47- contact your DocuSign Account Manager or Partner Account Manager</ b >
47+ contact your DocuSign Account Manager or Partner Account Manager, or reach out to
48+ < a target ='_blank ' href ='https://support.docusign.com '> Support</ a > .</ b >
4849{% endif %}
4950
5051{% endblock %}
You can’t perform that action at this time.
0 commit comments