Regarding Record field action

Certified Associate Developer

I'm using record field action as edit supervisor questionary button in the interface. I have a requirement that as soon as someone clicks the record action field, it should update a field in the database as edited by and when submits it, again the same field should be modified to submitted by. How can I achieve this?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Associate Developer
    in reply to Konduru Chaitanya

    The comment is a column in the database table. And the requirement is if I click on the record action field, first, the comment column should automatically update it to "edited by supervisor" text and then after submitting the form which is being used in the record field action, the comment field should modify to text "submitted by supervisor:" like this.

  • 0
    Certified Senior Developer
    in reply to swapnilk0010

    I hope these are two different entries in the database table, else you would simply overwrite the first input with the second one making the 1st input useless.

    You can have a script task which would construct the data for the comment and then write the first value to records node and then have your UIT and followed by the write records which would write the form data and the comment data which contains the submitted by.