java program to find timetaken for difference between processed date and received date
I created a SLA Task management app foe that i want to calculate the SLA timetaken for finding the difference between received date and processed date .I am using java action.I need java program to find SLA timetaken. help please!!
Think that that could be more a Java question, then a Mendix one ;-) Might I suggest you use a Mendix function in your Microflow for datetime comparisons? E.g. daysBetween(a, b). You can use this function, e.g. when creating a variable in a microflow. You can find the documentation on these functions right here: https://docs.mendix.com/refguide/between-date-function-calls. It would be possible to return this time difference in your java action as a parameter of the JA call.