Get Access - Workflows - Search “dynamic” query

Hi All,
in a workflow, I’m trying to assign an AccessProfile to an identity.
I have the following:
• Define variable:
dptoArea (concatenation of 2 identity attributes): dpto+_+area

• Get Access: ‘Access Selection Method’ By Search Query

Here, I need it to be the name of the previous variable.
I tried with:
$.defineVariable.dptoArea but it doesn’t work.
name: {{$.defineVariable.dptoArea}} but it doesn’t work.
name: "{{$.defineVariable.dptoArea}}" but it doesn’t work.

Any idea how to do it?
Thank you.
Regards.

Hi @bblanco ,

In what part of the query are you using the variable? Can you share the query here?

name: "{{$.defineVariable.dptoArea}}"

looks fine

Hi @shaileeM

image

and test workflow:

image

Step Output is empty.

Hi @bblanco ,

I checked with same: name: "{{$.defineVariable.new}}" (my variable name is new)

and it seems fine in the test

Is your Variable correctly declared ?

Thanks,
Shailee

oh! That’s right, the variable has changed its name.

It is now: $.defineVarible1.dptoArea

Thanks you so much!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.