Skip to main content
raulg0001
Inspiring
March 23, 2022
Solved

record actions

  • March 23, 2022
  • 7 replies
  • 0 views

Hello,

I put you in context. I have a related data model and there are student and grade entities. These entities are related by a record.

The problem I have is that I want to create a new grade through a related action and automatically assign it to the student.

I can't do this because in the related actions list you cannot pass the id of the student to which the created grade will belong as a parameter.


Any ideas to pass the student id to a related action?

number is the student id

    Best answer by peter.lewis

    Can you create this as a related action on the student record type instead of making this a record action on the grade record type? If you use the student record type then you should be able to pass the identifier of the student that you're using.

    7 replies

    peter.lewis
    Employee
    March 23, 2022

    Can you create this as a related action on the student record type instead of making this a record action on the grade record type? If you use the student record type then you should be able to pass the identifier of the student that you're using.

    raulg0001
    raulg0001Author
    Inspiring
    March 23, 2022

    Thank you very much, you have clarified my ideas and I already managed to do it in my application. It is indeed the correct way to do it.


    Still I'm curious if appian will allow passing parameters to a record action list

    gopalk2865
    Participating Frequently
    March 24, 2022

    HI raulg0001, You can pass parameter only when you are using related action of a record. In related action pass

    rv!identifier as parameter. But in case of record action, its not possible.