calworkminutesplugin issue

Certified Lead Developer

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

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Rama Krishna Golla

    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

    calworkminutesplugin(
    datetime(2023,09,15,5,15),
    datetime(2023,09,15,5,25))

    returning 0

    is the expected behaviour.

    Thanks

Children
No Data