0 setting an attribute to Connection Status in a Workflow 1 Dillan Cagnetta posted 9 Years Ago i am using SET ATTRIBUTE VALUE action with LAVA of {{ Person.ConnectionStatus }} in text value but i get an error HttpException in Message Request timed out. Stack Trace
Dillan Cagnetta 8 years ago Hi David, i know its been a while but i just needed this again! I used the "Set Attribute From Entity" action and my custom lava is{{ Entity.Person.ConnectionStatusValue.Value }}im trying set the value of Text attribute called connection statushowever when i send this in a form its blank?any help is appreciated
David Leigh 8 years ago Dillan, where are you using this Lava? If the Entity is a Person, try just using "{{ Person.ConnectionStatusValue.Value }}. If "Person" is an Attribute of a Workflow, remember that the value of the Attribute is not a Person object, but a GUID. In that case, you would need to use the PersonByGuid Lava filter to create a Person object first. There is a good example of how to do this in the Lava documentation.
Dillan Cagnetta 8 years ago David, in "Set Attribute From Entity" .. "Lava Template" area ..., I inserted "{{ Person.ConnectionStatusValue.Value }}"which is assigned to a "Text" workflow attributebut it still shows blank in the form I used to view it next
David Leigh 8 years ago If "Person" is the name of the Workflow Attribute, then you need to use something like in your Lava:{% assign personGuid = Workflow | Attribute:'Person' %}{% assign thePerson = personGuid | PersonByGuid %}{{ thePerson.ConnectionStatusValue.Value }}