Cedric's answer is correct, a switch case statement is an alternative way to handle 'IF' conditions based on cases.
More info.
https://dev.to/sumusiriwardana/if-else-or-switch-case-which-one-to-pick-4p3h
On the recipient extension schema, set the mobilephone data policy to none and try if that works.
<attribute desc="Mobile" name="mobilePhone" type="string" label="Mobile" length="15" dataPolicy="none"/>
Ever wanted to create a custom webapp which allows recipient data editing without the hussle of coding it from the ground up? look no further than datatables;
DataTables is a powerful JavaScript library for adding advanced interaction controls to HTML tables, enhancing the functionality of standard ...
Here is another variant
var recipients =
<recipientlist>
<where>
<condition expr="@id IN '1234,2345,3456,4567,5678'"/>
</where>
</recipientlist>;
var services =
<service>
<key value="111"/>
<key value="222"/>
<key value="333"/>
</service>;
...
You can query acc instance, any schema and pull data out through API, by querying the souprouter.jsp endpoint. "https://<yourinstance>/nl/jsp/soaprouter.jsp"
You need to download the wsdl file and import it into your microservice or soapUI tool for testing.
Web service description: WSDL
A WSDL (...
Hi @igorku im not sure if is not available in the jsapi docs then I wouldnt know. On the other hand, if you want to find out the current database and schema name so that your code can work seamlessly in other environments, you can check with the following script (note is unfinished). but you can foc...
Another approach in JS. https://experienceleague.adobe.com/developer/campaign-api/api/f-sqlExec.html
var sql= "DELETE FROM TESTKEY WHERE COL2 = 2;
sqlExec(sql);
Features
Available in:
Content managementDelivery propertiesTypology ruleJSSPSOAP MethodWebAppWorkflow
On your webapp
var abc= ctx.vars.abc;
var xyz= ctx.vars.xyz;
NLWS.xtkWorkflow.PostEvent("yourworkflow", "yoursignal", "", {variables: {"abc":abc, "xyz" xyz, }}, false);
On your workflow
logInfo(vars.abc+vars.xyz)