Hello @Alex Medved _ConfiForms_
Lately we've begin trying to upload a big dataset to confiform via REST API and we've stumbled into an issue.
What happens is that some IFTTTs run correctly, but some that depend on other IFTTTs run without a positive result.
When run through the form registration they do their work, but the API for some reason cannot work with them properly.
I am attaching a _debug log acquired via REST API
In the log you can see ITFFT GenerateTempID which works, but right after that SMLSetID (which uses value from GenerateTempID) doesn't.
If you have any advice, or a guide as to what causes some IFTTTs to run and some fail it would be much appriciated.
Best regards,
Matej Mazak
{"recordId":245,"createdBy":"gueqh6h","created":1744122215254,"id":"28938815-4f01-4d9b-b158-47f681a76d03","fields":{"SetCategoryEN":"05","SetActive":"true","DocComment":"","_useragent":"python-requests/2.32.3","SetOwner":"TBZMN1U","NotifyLastDate":"1730329200000","Document":"<values><id>286621751<\\/id><contentType>text/plain<\\/contentType><version>1<\\/version>hello3.txt<\\/values>","DocLang":"01","SetType":"complete","SetLink":"","TempSetID":"","SetID":"SML-23","Partner":"ŠKODA
AUTO
a.s.","SetCategory":"05","DocValidAlways":"false","DaysLeft":"-160","PartnerID":"4342426f-abad-41c1-8132-ac7c3133304d","DocValidUntil":"1730329200000","DocName":"hello3.txt","SetName":"TEST8","DocSignDate":"1727388000000","SendNotification":"","SetLinkID":"","_ref":"b6162b50-9e88-4318-b9ff-b37d3902670e","_event":"onCreated","SetClass":"current","navstevnici":""},"ownedBy":"gueqh6h"}","condition":"","silent":false,"extraContext":"","form":"CMA2","invocationTime":36,"action":"Audit","event":"onCreated","parameters":"","additionalContextDetails":"","resultName":"auditcreated"},{"result":"{"recordId":48,"createdBy":"gueqh6h","created":1744122215120,"id":"b6162b50-9e88-4318-b9ff-b37d3902670e","fields":{"DocValidAlways":"false","DaysLeft":"-160","SetCategoryEN":"05","SetActive":"true","DocComment":"","_useragent":"python-requests/2.32.3","PartnerID":"4342426f-abad-41c1-8132-ac7c3133304d","DocValidUntil":"1730329200000","DocName":"hello3.txt","SetName":"TEST8","SetOwner":"TBZMN1U","NotifyLastDate":"1730329200000","DocSignDate":"1727388000000","DocLang":"01","SetLinkID":"","SetType":"complete","SetLink":"","TempSetID":"38","SetID":"SML-23","Partner":"ŠKODA
AUTO
a.s.","SetClass":"current","SetCategory":"05","navstevnici":""},"ownedBy":"gueqh6h"}","condition":"","silent":false,"extraContext":"","form":"CMA2","invocationTime":97,"action":"Generate
next
number","event":"onCreated","parameters":"TempSetID","additionalContextDetails":"","resultName":"GenerateTempID"},{"result":"{"recordId":48,"createdBy":"gueqh6h","created":1744122215120,"id":"b6162b50-9e88-4318-b9ff-b37d3902670e","fields":{"DocValidAlways":"false","DaysLeft":"-160","SetCategoryEN":"05","SetActive":"true","DocComment":"","_useragent":"python-requests/2.32.3","PartnerID":"4342426f-abad-41c1-8132-ac7c3133304d","DocValidUntil":"1730329200000","DocName":"hello3.txt","SetName":"TEST8","SetOwner":"TBZMN1U","NotifyLastDate":"1730329200000","DocSignDate":"1727388000000","DocLang":"01","SetLinkID":"","SetType":"complete","SetLink":"","TempSetID":"38","SetID":"SML-23","Partner":"ŠKODA
AUTO
a.s.","SetClass":"current","SetCategory":"05","navstevnici":""},"ownedBy":"gueqh6h"}","condition":"SetType:complete","silent":false,"extraContext":"","form":"CMA2","invocationTime":115,"action":"Create
ConfiForms Entry","event":"onCreated","parameters":"entryId=[entry.id] & SetID=(CONCAT("SML-",
"[entry.TempSetID]"))","additionalContextDetails":"","resultName":"SMLSetID"},{"result":"page: SML-23 - TEST8 v.1
(286621752)","condition":"SetType:complete","silent":false,"extraContext":"221544463","form":"CMA2","invocationTime":43,"context":"DQ-WIKI.CMA.ADMINS,DQ-WIKI.CMA.MODERATORS","action":"Create
Page","event":"onCreated","parameters":"[entry.SetID] -
[entry.SetName]","additionalContextDetails":"","resultName":"createcma"},{"result":"{"recordId":1,"createdBy":"gueqh6h","created":1744122215120,"id":"b6162b50-9e88-4318-b9ff-b37d3902670e","fields":{"SetCategoryEN":"05","SADASetID":"SML-23","SetActive":"true","SADADocument":"","_useragent":"python-requests/2.32.3","SADADocValidUntil":"1730329200000","SADADocValidAlways":"false","SetOwner":"TBZMN1U","NotifyLastDate":"1730329200000","DocLang":"01","SADAComment":"","SADADocSignDate":"1727388000000","SetType":"complete","SADADocType":"01","SADADocName":"hello3.txt","SADAPicker":"","TempSetID":"38","SetID":"SML-23","Partner":"ŠKODA
AUTO
a.s.","SetCategory":"05","DocValidAlways":"false","DaysLeft":"-160","SADAOwner":"TBZMN1U","PartnerID":"4342426f-abad-41c1-8132-ac7c3133304d","DocValidUntil":"1730329200000","DocName":"hello3.txt","SetName":"TEST8","DocSignDate":"1727388000000","SADADocLang":"01","SADADocTypeEN":"01","SADAActive":"true","SADAClass":"current","SetClass":"current"},"ownedBy":"gueqh6h"}","condition":"SetType:complete","silent":false,"extraContext":"SADA:${iftttResult_createcma.id}","form":"CMA2","invocationTime":133,"context":"CMA2:this","action":"Copy
ConfiForms
Data","event":"onCreated","parameters":"entryId=[entry.id]&SADADocument=[entry.Document]&SADADocName=[entry.DocName]&SADADocType=01&SADADocTypeEN=01&SADADocSignDate=[entry.DocSignDate]&SADADocLang=[entry.DocLang]&SADAComment=[entry.DocComment]&SADADocValidAlways=[entry.DocValidAlways]&SADADocValidUntil=[entry.DocValidUntil]&SADAActive=true&SADASetID=[entry.SetID]&SADAClass=[entry.SetClass]&SADAOwner=[entry.SetOwner]","additionalContextDetails":"","resultName":"createcmasadaentry"},{"result":"{"recordId":48,"createdBy":"gueqh6h","created":1744122215120,"id":"b6162b50-9e88-4318-b9ff-b37d3902670e","fields":{"SetCategoryEN":"05","SADASetID":"SML-23","SetActive":"true","SADADocument":"","DocComment":"","_useragent":"python-requests/2.32.3","SADADocValidUntil":"1730329200000","SADADocValidAlways":"false","SetOwner":"TBZMN1U","NotifyLastDate":"1730329200000","DocLang":"01","SADAComment":"","SADADocSignDate":"1727388000000","SetType":"complete","SADADocType":"01","SADADocName":"hello3.txt","SADAPicker":"","SetLink":"","TempSetID":"38","SetID":"SML-23","Partner":"ŠKODA
AUTO
a.s.","SetCategory":"05","DocValidAlways":"false","DaysLeft":"-160","SADAOwner":"TBZMN1U","PartnerID":"4342426f-abad-41c1-8132-ac7c3133304d","DocValidUntil":"1730329200000","DocName":"hello3.txt","SetName":"TEST8","DocSignDate":"1727388000000","SetLinkID":"","SADADocLang":"01","SADADocTypeEN":"01","SADAActive":"true","SADAClass":"current","SetClass":"current","navstevnici":""},"ownedBy":"gueqh6h"}","condition":"SetType:complete","silent":false,"extraContext":"","form":"CMA2","invocationTime":94,"action":"Create
ConfiForms Entry","event":"onCreated","parameters":"entryId=[entry.id]&SetLink=<a
href="https://dqwiki.tskoda.vwgroup.com/pages/viewpage.action?pageId=${iftttResult_createcma.id}">[entry.SetID]</a>&SetLinkID=${iftttResult_createcma.id}","additionalContextDetails":"","resultName":"createcmalink"},{"result":"[]","condition":"","silent":false,"extraContext":"","form":"CMA2","invocationTime":1,"action":"Add
Attachment
Label","event":"onCreated","parameters":"[entry.Document.asAttachment.id]","additionalContextDetails":"","resultName":"addlabels"},{"result":"","condition":"","silent":false,"extraContext":"[entry.SetLinkID]","form":"CMA2","invocationTime":0,"context":"CMA:","action":"Move
Attachment","event":"onCreated","parameters":"[entry.Document.asAttachment.id],","additionalContextDetails":"","resultName":"copyfile"},{"result":"Send
email report [subject='[TEST CMA] Nový dokument v CMA - SML-23 - TEST8', body='<div
class="table-wrap">\n <table class="relative-table wrapped confluenceTable" style="width:
26.7803%;">\n <colgroup>\n <col style="width: 100.0%;">\n </colgroup>\n
<tbody>\n <tr>\n <td
class="confluenceTd"><p><strong>Upozornění&nbsp;aplikace "Digiteq Smlouvy \u2013
DS"</strong></p></td>\n </tr>\n <tr>\n <td class="confluenceTd">\n
<div class="content-wrapper">\n <p>Událost: <strong>Založení
smlouvy</strong><br>\n Aktivita: <strong>Byl založen nový dokument v CMA - <span
class="i_holdingrow_SetID conf-macro output-inline" data-hasbody="false"
data-macro-name="confiform-field"><span cf-field="SetID"
id="i_sel_SetID">SML-23</span></span></strong><br>\n Předmět
smlouvy:&nbsp;<span class="i_holdingrow_SetName conf-macro output-inline"
data-hasbody="false" data-macro-name="confiform-field"><span cf-field="SetName"
id="i_sel_SetName">TEST8</span></span><br>\n Protistrana:</p>\n <div
class="i_holdingrow_id conf-macro output-inline" data-hasbody="false"
data-macro-name="confiform-field">\n <label style="font-weight:bold"
id="i_labelfor_id" for="i_id">Protistrana </label> <span cf-field="id"
id="i_sel_id">\n <div id="14706d7b9e3b620193969c783d11b920_div"
data-macro-hash="8ce1abec8085db1cc87e30988934f4ea" data-filter-hash=""
macro-id-hash="2e3463d9-7e3d-4eb5-ab76-461714dc247a" class="conf-macro output-block"
data-hasbody="true" data-macro-name="confiform-list">\n <div class="noprint"
style="display: none">\n </div><span id="cf_messages" style="padding-bottom:
5px;"></span>\n <div style="" class="cf_protistrany_list confiforms-list
cf_view_container" id="14706d7b9e3b620193969c783d11b920_contents_div" data-cf-macro="list"
data-cf-form="protistrany" data-cf-storage="230228102"
data-view-macro-id="2e3463d9-7e3d-4eb5-ab76-461714dc247a">\n <div
confi-data-id="4342426f-abad-41c1-8132-ac7c3133304d" class="cf-entry-container
i_confiform_entry_4342426f-abad-41c1-8132-ac7c3133304d">\n <p><span
class="i_holdingrow_PartnerFullName conf-macro output-inline" data-hasbody="false"
data-macro-name="confiform-field"><span id="i_sel_PartnerFullName">ŠKODA AUTO a.s.
(177041)</span></span></p>\n </div>\n </div>\n </div></span>\n
</div><br>\n Konec platnosti: <strong><span class="i_holdingrow_DocValidUntil conf-macro
output-inline" data-hasbody="false" data-macro-name="confiform-field"><span
cf-field="DocValidUntil"
id="i_sel_DocValidUntil">31.10.2024</span></span></strong>\n <p></p>\n
</div></td>\n </tr>\n <tr>\n <td class="confluenceTd">\n <div
class="content-wrapper">\n <p>Dobrý den,<br><br>\n V CMA byla založená nová smlouva, ke
které jste byl nastaven jako vlastník.</p>\n <p><br></p>\n <p>Odesílatel:<br>\n
Aplikace Smlouvy Digiteq</p>\n <p>Pro detailnější informace použijte tyto odkazy:</p>\n <p>Odkaz
na sadu:</p>\n <div class="i_holdingrow_SetLink conf-macro output-inline"
data-hasbody="false" data-macro-name="confiform-field"></div><br>\n Odkaz na
aplikaci: <a href="https://dqwiki.tskoda.vwgroup.com/display/CMA/%5BTEST%5D+CMA+Home"
rel="nofollow" target="_top">CMA</a>\n <p></p>\n </div></td>\n
</tr>\n </tbody>\n </table>\n</div>',
recipients=Ivana.Beranova@digiteqautomotive.com]","condition":"","silent":true,"extraContext":"[entry._user]","form":"CMA2","invocationTime":25,"context":"[entry.SetOwner]","action":"Send
Email","event":"onCreated","parameters":"[TEST CMA] Nový dokument v CMA - [entry.SetID] -
[entry.SetName]","additionalContextDetails":"","resultName":"sendnew"}],"id":"b6162b50-9e88-4318-b9ff-b37d3902670e","_time":9241,"errors":[],"status":"success"}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.