<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Document not being passed to docusign</title><link>https://community.appian.com/discussions/f/integrations/9149/document-not-being-passed-to-docusign</link><description>Hi, I have a requirement to integrate with DOCUSIGN where I am passing an appian document to be signed digitally. I used the httppost() function to call the service. Here I need to pass the document in the body in base64 format. I have used convertdocumenttobase64</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Document not being passed to docusign</title><link>https://community.appian.com/thread/40904?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2016 11:28:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b3bee12-1dd0-40df-8746-6b80d25fad95</guid><dc:creator>chandolum</dc:creator><description>Thanks for the update on the issue..&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document not being passed to docusign</title><link>https://community.appian.com/thread/40903?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2016 11:25:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cb8a2d62-9422-449d-946d-d26a3bbe1260</guid><dc:creator>ankitab918</dc:creator><description>Hi.. This issue is resolved.. There was an extra parameter called fileExtension in the documents block. This was not given in the DOCUSIGN documentation so I missed it. I did a little digging in google and with trial and error found the resolution. So the block would look like this :&lt;br /&gt;{&amp;quot;documentId&amp;quot;:&amp;quot;514357&amp;quot; ,&amp;quot;name&amp;quot;:&amp;quot;a.txt&amp;quot;,&lt;br /&gt;&amp;quot;fileExtension:&amp;quot;txt&amp;quot;,&amp;quot;documentBase64&amp;quot;:convertdocumenttobase64(&amp;quot;514357&amp;quot;)},&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document not being passed to docusign</title><link>https://community.appian.com/thread/40902?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2016 10:32:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a50c0266-ea5a-4fef-bf95-6e97cafa76ed</guid><dc:creator>ankitab918</dc:creator><description>Actually it&amp;#39;s just not the upload, i need to send an email too with the document&amp;#39;s link.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document not being passed to docusign</title><link>https://community.appian.com/thread/40900?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2016 10:08:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52fffbbc-dbde-40ad-a8ee-8dde639407d0</guid><dc:creator>chandolum</dc:creator><description>Can you try with HTTP File Upload Smart Service, as per the above code local!documents data type will be &amp;quot;Any Type&amp;quot; but as per my assumption the target source will accept only document type. if we use HTTP File upload smart service you can pass the result of convertdocumenttobase64 as parameter(HttpKeyValuePair) which will accepts multiple key value pairs. you can pass your document to &amp;quot;Document&amp;quot; attribute of the smart service. hope this will help.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document not being passed to docusign</title><link>https://community.appian.com/thread/40863?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 11:02:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:37ca9dad-03fa-4c4c-9803-b967be919d5e</guid><dc:creator>ankitab918</dc:creator><description>i am passing the document as a json format. Please check the below code:&lt;br /&gt;load(&lt;br /&gt;local!documents:{&amp;quot;documentId&amp;quot;:&amp;quot;514357&amp;quot; ,&amp;quot;name&amp;quot;:&amp;quot;a.txt&amp;quot;,&amp;quot;documentBase64&amp;quot;:convertdocumenttobase64(&amp;quot;514357&amp;quot;)},&lt;br /&gt;&lt;br /&gt;httppost(&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;body:a!toJson({&amp;quot;emailSubject&amp;quot;:&amp;quot;TestEmail&amp;quot;,&amp;quot;emailBlurb&amp;quot;:&amp;quot;ShowsHowTocreateEnvlope&amp;quot;,&amp;quot;recipients&amp;quot;:{&amp;quot;signers&amp;quot;:{local!signers}},&amp;quot;documents&amp;quot;:{local!documents},&amp;quot;status&amp;quot;:&amp;quot;sent&amp;quot;})&lt;br /&gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Document not being passed to docusign</title><link>https://community.appian.com/thread/40861?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 10:39:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:95e39b30-04ce-4970-a222-c61cd8789254</guid><dc:creator>chandolum</dc:creator><description>@ankitab,  the return type convertdocumenttobase64() is of type text, but as per my understanding to above post the input for  httppost would be of type document i think the mismatch in the data type is causing the issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>