Skip to main content
Known Participant
Dec 27, 2022 2:17 PM UTC
Question

Executing expression rule through button click

Hi Everyone, 

I am calling the expression rule from the interface through button widget using startprocess and the process model calling the rule in the script task. But the rule is not executing. Can anyone please help me how to achieve this?

Thanks in advance!

    3 replies

    stefanhelzle0001
    Brainy
    Dec 27, 2022 3:51 PM UTC

    How do you know that the rule is not executed? Did you check the started process instances? Does this process work as expected in debug mode?

    Known Participant
    Dec 28, 2022 4:14 AM UTC

    Hi Stefan,

    The interface rule called in process model consists of a button which is updating the variables. But those are not getting updated as buttons need to be clicked. I am thinking if this is possible to achieve this or if there is some other alternative to it.

    Inspiring
    Feb 26, 2023 4:08 AM UTC

    Hi

    if you still have issue, are you able to share your code or screenshot of issue. Without proper explanation it is very difficult to answer