Following the SAIL recipe section on selecting a specific cell inside a column,

Following the SAIL recipe section on selecting a specific cell inside a column, the primary key of the selected value is being stored in a local variable called local!selectedDocumentId. Can anybody please tell me how I can pass the value inside this local variable into a rule input, let's say ri!selectedDoc. Usually rule inputs provides values to local variables. But here instead I want the local variables to pass its value to a rule input.

thanks...

OriginalPostID-102426

OriginalPostID-102426

  Discussion posts and replies are publicly visible

Parents
  • I have the following code:
    local!selectedDocumentId,
    local!gridSelection: a!gridSelection(.....),

    then inside gridField I have the following:

    saveInto: local!gridSelection,
    if(count(local!gridSelection.selected > 1), {},
    local!selectedDocumentId <<index(_, "selected", null))

    Now I would like to know how I can pass the selected value from local!selectedDocuemntId to a rule input ri!selectedDoc ?
Reply
  • I have the following code:
    local!selectedDocumentId,
    local!gridSelection: a!gridSelection(.....),

    then inside gridField I have the following:

    saveInto: local!gridSelection,
    if(count(local!gridSelection.selected > 1), {},
    local!selectedDocumentId <<index(_, "selected", null))

    Now I would like to know how I can pass the selected value from local!selectedDocuemntId to a rule input ri!selectedDoc ?
Children
No Data