Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Data Pills in Flow Designer below Array.Object cannot be used (grayed out)

Milan14
Tera Contributor

I am working on JIRA Spoke connection in Flow Designer, I am using pre-prepared inputs from JIRA Spoke application and I have noticed, that I can't use some data pills from the picker. I can't use anything under Array.Object. find_real_file.png

For example I would like to use "To String" in simple "If" condition, but I can't. Is there any way to fix that or some workaround?

Thanks Everyone,

Milan

1 ACCEPTED SOLUTION

Bimschleger
ServiceNow Employee
ServiceNow Employee

Hi Milan,

As you noted, the greyed-out pills are part of an array.object. Since the array.object may contain many objects, the system doesn't yet know which object to reference for the greyed-out pills.

To use the greyed-out pills, you'll need to use logic that can iterate through the array.object.

For example, use For Each logic, and add 'For each {item}'. Then the pills under 'Item' should be available for use within the For Each.

  1. For each {item}
    1. Log: {to string}

View solution in original post

3 REPLIES 3

Bimschleger
ServiceNow Employee
ServiceNow Employee

Hi Milan,

As you noted, the greyed-out pills are part of an array.object. Since the array.object may contain many objects, the system doesn't yet know which object to reference for the greyed-out pills.

To use the greyed-out pills, you'll need to use logic that can iterate through the array.object.

For example, use For Each logic, and add 'For each {item}'. Then the pills under 'Item' should be available for use within the For Each.

  1. For each {item}
    1. Log: {to string}

Hello Brian,

 

thank you for the explanation, I get it now.

I must be doing something wrong because even in my for loop in the flow the results of the action are still greyed out.