Workflow Condition Issue

Cindy26
Tera Expert

I have an IF condition in my Access Request workflow that checks the Access Name Variable. 

The condition is being met, but the workflow is not seeing it as met for some reason. (it recognizes the requested by field, but not the access name). 

I have the same condition (for different access names) in the workflow and those work as expected.

I've attached a screenshot of the RITM and screenshots of the condition. Any idea why this isn't working?

 

1 ACCEPTED SOLUTION

Cindy26
Tera Expert

I ended up resolving this - it was something to do with an inbound action we are also using. I'm not really sure how that was affecting it because the condition still should've been met based on the variable value, but it is fixed. 

View solution in original post

11 REPLIES 11

AnirudhKumar
Mega Sage
Mega Sage

Is the catalog item specified in the condition?

I see the variable name selected and the value it needs to hold, but I can't seem to find the catalog item selection in your screenshot.

Hmm, the variable I need to check isn't associated with a specific catalog item. (see screenshot added).

Again, this is configured exactly the same way for different access names throughout the workflow, and those work fine. 

 

Some thoughts:

- Are there other fields with the same name as  Access Name, and we could be referring to the wrong one?

- There are additional conditions too - Requested For is... , Do those conditions satisfy for your RITM. (Try keeping just the requested for condition to narrow down if the issue is indeed with Access Name field)

- Are there duplicate value with same name as Field Service Dynamics?

 

I also suggest create a Run Script and simply log the variable value with current.variables.<<fieldname>> , and then compare the value against what the RITM variable holds.

hello, to answer your questions:

There is only 1 variable with the name Access Name. 

The condition for "requested for" IS being satisfied. It is only the Access Name condition that is not being satisfied. 

The full name is actually "Field Service Dynamics (Success Factor)" (you just can't see it in the screenshot fully). There is only 1 access with that specific name. 

In regards to script, I am a new "developer" and have no idea how to create that Run Script. Any guidance would be greatly appreciated.