Post Tool - Various issues
Hello,
I recently started working on a certain part of the Price Increase Journey that worked last year. What has changed since then? Only the Warewolf version. The workflow in question is the GetPdfLinkDetails which contains an API Post to a 3rd party provider - InsideData. Please note that this API response is an escaped json format. For the sake of completeness, I'm using Warewolf 2.8.1.63.
In the latest version of Warewolf, the API doesn't return a response in Warewolf. Whether the default - output to variable or output to object is selected, as per the below screenshots:
However, we are able to get a response in Postman as per the following screenshot:
I then decided to downgrade Warewolf to a version prior to Dev2's Post Tool changes. Once downgraded, upon opening the workflow, I get the following error:
When I tried to delete the former Post Tool, highlighted in red, in order to drag on a new post tool, I get the following error:
This concludes the issues experienced. The following is additional information to help with the troubleshooting:
1. The API in question can be called via a post request to the following URL:
https://generic.insidedata.co.za/ID.Generic.API.TheUnlimited/IDServiceRest.svc/CreateDistributionWithShortener.
The request body is as follow (Please note - should be in Raw Text format - Not JSON:
{
"PassPhrase":"B7CC5331-12A8-46AA-A5B0-D6AB6D4AFC93",
"BusinessID":"TheUnlimited",
"Campaign":"TUG - Price Increase",
"BatchName":"PostMan Test - 2022-08-01",
"DistributionMethod":"SMS",
"DistributionTemplate": "TheUnlimitedInsurance",
"CompositionTemplate":"PriceIncrease",
"TransformData":true,
"Approval":false,
"ArchiveOnly": true,
"LoadData":{
"SourceDataType":"CSV",
"CSVData":"TUS000721271;Journey Test;R20.0;R132.0;March 2023;Yes! You get INSTANT CASH BACK on selected groceries like bread, milk, nappies and more!",
"Customer":{
"Reference":"TUS000721271-2",
"Name":"Journey Test",
"Surname":"",
"Initials":"",
"Title":"",
"Language":0,
"EmailAddress":"wvermaak86@gmail.com",
"NumberMobile": "0726105303"
},
"Reference":{
"RefAmount1":"20.0",
"RefAmount2":"132.0",
"RefDate1":"March 2023",
"Version":"1"
},
"Distribution":{
"SendSMS":true
},
"ExternalID":1234567890123,
"IsValid":true
}
}
Lastly, the workflow in question is:
Kundesupport af UserEcho
Pls mark ticket as completed