calworkminutesplugin is working fine in expression rule. But when i call the expression rule from the process model getting the below error message.
Expression evaluation error in rule 'xxxxx' at function 'calworkminutesplugin' [line xx: ) (Data Outputs)
Any Suggestions Please.
Discussion posts and replies are publicly visible
As mentioned earlier, Please check the working time defined in the calendar that is being passed in the function, it will take the default working hours if no custom calendar is passed. You can make your own calendar and define working hours for that as well and use that. As Stefan said , this is expected behavior. These functions basically work according to process calendar settings defined. Hope that helps
Unknown said:calworkminutesplugin(datetime(2023,09,15,5,15),datetime(2023,09,15,5,25)) returning 0 is the expected behaviour.
calworkminutesplugin(datetime(2023,09,15,5,15),datetime(2023,09,15,5,25))
returning 0
is the expected behaviour.
Thanks
This is really running in circles ...
What calendars do you use and how are they configured?
What does "its not working" actually mean?
let me do some test scenarios. thank you all for your quick responses..