Skip to main content
kavyam0002
November 22, 2021
Question

3 rule inputs needs to refer single column but different rows in DB and update the values

  • November 22, 2021
  • 5 replies
  • 0 views

Hi I have a question 

i have 3 rule inputs i.e, ri!uniqueref1,ri!uniqueref2, ri!uniqueref3 these 3 rule inputs needs to be updated to DB  

but 3 rule inputs have to refer to single column but different rows in DB 

can anyone help me for this how can i write logic for creating  process model 

3 rule inputs needs to refer single column but different rows in DB and update the values 

    5 replies

    richardm900458
    November 22, 2021

    Hi kavyamutter,

    Some questions: 
    1.) Why not just using an array /multiple rule input?

    2.) Do you know how to provide rule input values to process variables?

    3.) Do you know the writeTodatatstores smart services?

     https://docs.appian.com/suite/help/21.4/recipe-use-the-write-to-data-store-entity-smart-service-function-on-an-interface.html

    https://docs.appian.com/suite/help/21.4/Write_to_Multiple_Data_Store_Entities_Smart_Service.html

    kavyam0002
    November 22, 2021

    1. am not sure how can i use and work on that 

    2. no 

    3. yes 

    richardm900458
    November 22, 2021

    hi kavya,
    as hard as it sound and please don't get it wrong: please continue to do the appian classes or ask your mentor. 
    It is super hard in a forum to provide these basics. the comments will become huuuge and appian provide high quality videos exactly for that, which are explaining pretty good these concepts.

    You are welcome to ask other specific questions in the future :)