Skip to main content
November 3, 2023
Question

data is not get updating for all request in db

  • November 3, 2023
  • 5 replies
  • 0 views

this  process model starts at particular date ,so it has 6 requests for today . timer has started and fetched the details and xor condition is true so it should update in db for each request instead  it updated all the values of 6 request for the 1st request .


can someone help me on this

    5 replies

    peter.lewis
    Employee
    November 3, 2023

    I'm not sure I understand what this means: 

    it updated all the values of 6 request for the 1st request .

    Can you give an example of what the expected outcome was and what the actual outcome was? Also can you show more information about how you configured your process model (screenshots, code snippets, etc.)?

    sabat0002Author
    November 6, 2023

    when the timer starts on some scheduled day ,once it has reached the scheduled day , it will pickup all requests scheduled for that date .So I'm able to get all the requests scheduled on that day in script task but in db it is updating fields for one request only .


    It should change status ,lastupdatedon, but is updating only 1st request fields in db

    stefanhelzle0001
    Brainy
    November 6, 2023

    You described twice what you want to do, but not what you are actually doing.

    We need all the gory details. Node configuration, code snippets ... everything!

    sriharshab0001
    November 21, 2023

    Hi, Please make the variable as multiple which you are storing all the 6 requests.  
    Hope this should solve your issue.