I am trying to access an action output in Logic App inline Javascript action as follows:

However, this leads to an error while saving the workflow -
Failed to save logic app <>. The template validation failed: 'The action(s) '@outputs('Get_current_loop_object')' referenced by 'inputs' in action 'Wrap_Work_Relationship_data_to_array_if_needed' are not defined in the template.'.
Any ideas what I may be missing?





