function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jeannine RobitailleJeannine Robitaille 

What is the syntax for json string to pass the value of a variable?

This is for Launch Flow in Modal App Exchange ...

To pass Opp recordid this syntax works:

"name" : "varOpportunityId", "type" : "String", "value": "_RECORDID_"

but to pass Opp description using any of the following syntax doesn't work:

"name" : "varWOFieldMessage", "type" : "Text", "value": "{!$Label.Description}" "name" : "varWOFieldMessage", "type" : "Text", "value": "{!Description}" "name" : "varWOFieldMessage", "type" : "Text", "value": "{!Opportunity.Description}"
 
Jeannine RobitailleJeannine Robitaille
BTW I am using Lightning.