I have a Menu Item rule, which I used like below
@handler("enable_account")
def enable_account(self, event, source=None, headers=None, message=None):
self._enable_account(event=event, message=message, artefact_type="employee_lookup")
Now Same rule I am trying to use in Function. I have modified the rule and passed to the appropriate workflow.
I need event and message(red marked) into function.
How to pass these variables to function ?
------------------------------
Sarfaraj Sayyad
------------------------------