What is Data pill in flow designer ?

Rishabh Sharma
Mega Contributor

Hello can anyone explain me about data pill and why we use in flow designer ?

3 REPLIES 3

Akanksha Gupta2
Mega Guru

Hi Rishabh , 

Flow Designer populates data pill values as soon as the data becomes available regardless of where the data pill is located in the flow sequence. For example, suppose that you have a flow triggered by the creation of an incident record with the following actions.
  1. Update [Incident] Record that adds a text string to [Trigger->Incident Record->Short description].
  2. Log the value of [Trigger->Incident Record->Short description].
  3. Log the value of [1->Incident Record->Short description].

Action-1 and Action-2 both use the data pill [Trigger->Incident Record->Short description]. Since the trigger record is available as soon as the flow starts, these values are set before running these actions.

Selecting Data Pills from the Data Panel

The Data Panel has sections for the trigger and each action in the flow.

 

The Data Panel
 

 

 

Expand and collapse triggers and actions to show variables available from that source. Only data pills from the trigger and previous actions are available for use in an action. Data pills from later actions are unavailable for use and grayed out.

To use a variable, drag a data pill from the Data Panel onto an action configuration field.

For More Info , You can refer this article.

https://developer.servicenow.com/app.do?_escaped_fragment_=/document/content/app_store_learnv2_autom...

 

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/concept/...

 

Pls Mark Helpful or Correct .

Regards,

Akanksha Gupta

Gaurav Shirsat
Mega Sage

Hi Rishabh

The visual representation of a variable in the Flow Designer user interface is a data pill. Each variable has its own data pill that developers can use to add the variable to action inputs.
 
Please Refer the Servicenow Official Documentation for this
 
 
also refer some of these videos for practical implementation below
 
 
 
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Can you explain what flow you are trying and where are you stuck?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader