In an edit issue action I'm setting the value of the Affected Services field. In a previous step I have an "lookup object" action.
My objects have an attribute called Service and sometimes this attribute is empty. In those case I do not want to include it in the edit action.
{{#lookupObjects}}
{{#if(not(Service.equals("")))}}
{"id":"{{Service.Service ID}}"}
{{/}}
So far I am unable to check for an empty attribute.
I tried several notations including these but it always results in TRUE.
- {{#if(not(Service.equals("")))}}
- {{#if(not(exists(Service)))}}
- {{#if(not(Service.isEmpty))}}