I am connecting to a rest api that gets a date input in query parameter in the format dd/mm/yyyy but in the process variable it is of the format yyyy-mm-dd. Is there a feel expression or ways to change the date format?
You could use the following FEEL expression:
replace(my_date, "(\d{4})-(\d{2})-(\d{2})", "$3/$2/$1")
Try in Playground!
Hi Philipp, Thanks for the response. I am using purchasedate.day+“/”+purchasedate.month+“/”+purchasedate.year