The Post System Event and Post Event smart services allow you to include additional information in your postings by populating the Event Data
node input.
You can build a table of More Info
items by typing an expression into the Event Data node input, by listing the complex values. The following example lists a simple label and value pair that would appear as a single row.
{label:"item",value:"item"}
label
with one value
or many value
items.value
items that can be used include the following.
,
as shown in the following example.{{label:"item",value:"item"},{label:"item",value:"item"}}
There are different ways to assemble your Event Data table. Using a single expression is the simplest approach. For the examples in this section, we assume that the process has already saved the following process variable values to be displayed as event data.
Process Variable | Data Type | Value |
---|---|---|
OpportunityName | Text | ITIL SOW |
OpportunityType | Text | Professional Services |
OpportunityAccount | Text | New Technologies |
OpportunityOwner | Text | Juliana Doe |
OpportunityStage | Text | 7 - Legal |
DetailsLink | Text |
|
These expression examples illustrate how to populate the value of an Event Data node input within a Post Event to Feed Smart Service or a Post System Event to Feed Smart Service. The following expression could be used to display the subsequent Event Data table.
{{label:"Name",value:pv!OpportunityName},{label:"Type",value:pv!OpportunityType},{label:"Account Name",value:pv!OpportunityAccount},{label:"Owner",value:pv!OpportunityOwner},{label:"Stage",value:pv!OpportunityStage},{label:"Link",value:pv!DetailsLink}}
Name | ITIL SOW |
Type | Professional Services |
Account Name | New Technologies |
Owner | Juliana Doe |
Stage | 7 - Legal |
Link | https://www.example.com/crm |
It is possible to list multiple values for a single label. For example, the following expression could be used to display the subsequent Event Data table.
{{label:"Account",value:{pv!OpportunityName,pv!OpportunityType,pv!OpportunityAccount}},{label:"Owner and Stage",value:{pv!OpportunityOwner,pv!OpportunityStage}},{label:"Link",value:pv!DetailsLink}}
Account | ITIL SOW Professional Services New Technologies |
Owner and Stage | Juliana Doe 7 - Legal |
Link | https://www.example.com/crm |
Populating Label Value Inputs