Do you see any issues when you trace the activity during execution(like Invalid datetime format/Invalid datetime) when you use OOTB function in activity? It basically does the same thing. You can try using similar code in your activity java step and let me know if it works.
Posted: 5 years ago
Posted: 6 Jun 2017 14:41 EDT
Adithya Acharya (Adithya_Acharya)