Skip to main content
October 4, 2021
Solved

Call an integration services in a!gridColumn

  • October 4, 2021
  • 8 replies
  • 0 views

Hello, 
i have a record type mapped on an expression rule that calls an integration service.

I'm able to create a grid which displays every record type's element; this is easy :)
I would need to insert a column at the end of each row that calls an integration service passing a property of the record type.

I created a related action that calls a process model that contains the integration service call; i can't call this related action from that column.

In the last column, the one that calls the service, it has to be present a "play" icon.

Thanks in advance.
Marco

Best answer by dave.hillier

Is this in the modal after clicking the above described recordActionItem? What are you setting for the "identifier: <recordIdentifier>"? Are you passing a valid record id specific to the row? 

it should probably look something like this:

8 replies

October 4, 2021

You can use the Record action component - Record Action Component within the grid column to call a related action in context of that particular record.

Sample code snippet -

  a!gridColumn(
    label: "",
    sortField: ,
    value: a!recordActionField(
        actions: {
          a!recordActionItem(
            action: , /*Use record! e.g. recordType!Case.actions.editCase*/
            identifier: 
          )
        },
        style: "TOOLBAR",
        display: "ICON"
    ),
    align: "CENTER"
  ) 

October 5, 2021

thank u for the reply. this works. 
i have another problem that i can try to resolve.

October 5, 2021