Get activityInstanceId to use in custom connector
I need to get de activityInstanceId to use in a Custom Connector. For that, I create a process variable with default value a groovy script with "activityInstanceId". That process variable is used to input of my own connector. When I get de value of activityInstanceId returns -1. Can someone help me?
Here is the print of Process Variable
Here is the print of Custom Connector