Hi everyone,
To provide some context: I have a ‘Case’ internal parent entity, and each case, I can be investigating multiple ‘Stores’. As such, I have created a child entity called ‘Store’. In my ‘Store’ internal child entity table, I have the following fields:
1. StoreName
2. StoreStatus
3. ClosureDate
4. ErrorMessage
in my workflow, I am currently trying to create a task that compares ‘ClosureDate’ with today’s date. If ‘ClosureDate’ is earlier than today, then 'ClosureDate' should become NULL and 'ErrorMessage' should be 'Your date should not be later than today'.
May I know what is the best approach to do this? Using REST service or write a Script Task? Could I also have a detailed guide on how to go about doing this?
Thank you all!