robertw937098
27-09-2018
Hi,
Using an enrichment, I'm creating a custom instance variable in a workflow. As shown below.
However, the issue is that this field defaults to a string. I need it as a number. How can I change the data type to be a number?
Thanks,
Rob
david_garcia1
MVP
You need to convert it using ToInteger()
Try
or in the next activity
ToInteger(@difference)
16-09-2019
Sorry just thought I should Update as I noticed an error.
ToInteger($(instance/vars/@difference)) correct
$(ToInteger(instance/vars/@difference)) wrong
28-09-2018
Thank you!