Hi,
I have a button to run an in-Line snippet to compose a conga composer url and then launch the url, is working without problems:
This is before the merge:
https://composer.congamerge.com?sessionId={{$Api.Session_Id}}&serverUrl={{$Api.Partner_Server_Url}}&id={{Id}}&ReportVar={{Id}} &QVar0Id=a0C17000000Et3N?pv0={{Id}} &QVar1Id=a0C17000000Et3I?pv0={{Id}} &QueryId=[OPPOwner]a0C17000000EwWW?pv0={{OpportunityID__c}}, [Site]a0Cb0000006CSH3?pv0={{{Site__r.Id}}}, [FirstOrderContact]a0C170000009Ty9?pv0={{Id}}, [OrderContact]a0Cb0000006CSGt?pv0={{Id}}, [TechContact]a0Cb0000006CSHD?pv0={{Id}}, [AdminContact]a0Cb0000006CSGj?pv0={{Id}}, [BillingContact]a0Cb0000006CSHI?pv0={{{Billing_Account__r.Id}}}, [BillingAccount]a0Cb0000006CSGo?pv0={{{Billing_Account__r.Id}}}, [Account]a0Cb0000006CSGe?pv0={{AccountID__c}}& TemplateId=015b0000000mYRt&OFN=Service+Order+Form+{{Order_ID_show__c}} &EmailToId={QVar0} &EmailAdditionalTo={QVar1} &CongaEmailTemplateID=a0A17000000DSfq &EmailRelatedToId={{Id}} &MFTS0=Stage__c &MFTSValue0=Order+form+sent &LG1=Order+Form+Sent &LG3=1&LG4=2&DS7=2
This is after the merge:
https://composer.congamerge.com?sessionId=[...]&serverUrl=[...]&id=a04b000000CaWygAAF &ReportVar=a04b000000CaWygAAF &QVar0Id=a0C17000000Et3N?pv0=a04b000000CaWygAAF &QVar1Id=a0C17000000Et3I?pv0=a04b000000CaWygAAF &QueryId=[OPPOwner]a0C17000000EwWW?pv0=006b0000007nYDk, [Site]a0Cb0000006CSH3?pv0=a0Fb0000007ikZcEAI, [FirstOrderContact]a0C170000009Ty9?pv0=a04b000000CaWygAAF, [OrderContact]a0Cb0000006CSGt?pv0=a04b000000CaWygAAF, [TechContact]a0Cb0000006CSHD?pv0=a04b000000CaWygAAF, [AdminContact]a0Cb0000006CSGj?pv0=a04b000000CaWygAAF, [BillingContact]a0Cb0000006CSHI?pv0=00117000001vAA0AAM, [BillingAccount]a0Cb0000006CSGo?pv0=00117000001vAA0AAM, [Account]a0Cb0000006CSGe?pv0=001b000000RxhHX &TemplateId=015b0000000mYRt &OFN=Service+Order+Form+OR-019292 &EmailToId={QVar0} &EmailAdditionalTo={QVar1} &CongaEmailTemplateID=a0A17000000DSfq& EmailRelatedToId=a04b000000CaWygAAF &MFTS0=Stage__c &MFTSValue0=Order+form+sent &LG1=Order+Form+Sent &LG3=1&LG4=2&DS7=2
All the {{ fields }} are merged with the values.
But, If I change the action of the button to ‘Run Multiple Actions’ and one of the actions is to run the snippet the merge fails (bolded the missing merges):
https://composer.congamerge.com?sessionId=i...]&serverUrl=e...] &id=a0h17000001AzH2AAK &ReportVar=a0h17000001AzH2AAK &QVar0Id=a0C17000000Et3N?pv0=a0h17000001AzH2AAK &QVar1Id=a0C17000000Et3I?pv0=a0h17000001AzH2AAK &QueryId=eOPPOwner]a0C17000000EwWW?pv0=, <b><<<---{{OpportunityID__c}}</b>
sSite]a0Cb0000006CSH3?pv0=, <b><<<---{{{Site__r.Id}}}</b>
sFirstOrderContact]a0C170000009Ty9?pv0=a0h17000001AzH2AAK, 2OrderContact]a0Cb0000006CSGt?pv0=a0h17000001AzH2AAK, 2TechContact]a0Cb0000006CSHD?pv0=a0h17000001AzH2AAK, 2AdminContact]a0Cb0000006CSGj?pv0=a0h17000001AzH2AAK, 2BillingContact]a0Cb0000006CSHI?pv0=, <b><<<--- {{{Billing_Account__r.Id}}}</b>
sBillingAccount]a0Cb0000006CSGo?pv0=, <b><<<--- {{{Billing_Account__r.Id}}}</b>
sAccount]a0Cb0000006CSGe?pv0= <b><<<--- {{AccountID__c}}</b>
&TemplateId=015b0000000mYRt &OFN=Service+Order+Form+ <b><<<--- {{Order_ID_show__c}}</b>
&EmailToId={QVar0} &EmailAdditionalTo={QVar1} &CongaEmailTemplateID=a0A17000000DSfq &EmailRelatedToId=a0h17000001AzH2AAK &MFTS0=Stage__c &MFTSValue0=Order+form+sent &LG1=Order+Form+Sent &LG3=1&LG4=2&DS7=2
I have the 5.21.4 (just updated) I don’t know if this happened in previous versions (i haven’t tested yet in one of my sandboxes with the 5.21.2)