Question

How to assign value in the Data Table assign action?

  • 6 December 2022
  • 4 replies
  • 49 views

Badge +1

If I assign value in the Data Table it display the variable name along with $ instead of variable value.

  1. This is my flow.
    Flow
  2. Assigning ‘Hi’ string value to the samplestring variable.
  3. Then assigning the string variable to data table
  4. the the value is displayed.
  5. But the output contain only the variable name.
  6. Do I need to change anything?
Assign string variable in the dataTable assign action
Output

 


4 replies

Userlevel 7
Badge +11

Hi @Mohan 780 ,

 

May I know your actual requirement here?

Are you trying to add data into the Data Table or do you need to see the contents of this Data table?

Badge +1

I need to add data into data table. If I add string variable in the data table and print the value in message I got the Variable name (Like $SampleString) instead of value ( Hi ). Refer the second screen shot I have attached in above post. Thank you.

Userlevel 5
Badge +8

Hi @Mohan 780 

As per the above description you want to insert the sample String value in the table, try below steps,

Use Data Table: Assign command for Assigning the value of the source table variable to the destination table variable

Userlevel 3
Badge +7

Hi @Mohan 780 ,

I see that @ChanduMohammad has beaten me to the chase(like always), but the key question is, 
“What exactly is it that you are trying to achieve?”
If you are simply exploring, then explore away, however if its something project specific then we are always happy to help you out, so long as you...

Mark my answer as the solution!

Nah I’m just kidding.
So long as you provide adequate details, which includes context, as that would put us in a much better position to help you out.

Kind Regards,
Ashwin A.K

Reply