Skip to main content
October 28, 2021
Question

error in script task

  • October 28, 2021
  • 2 replies
  • 0 views

I have requirement to update 2 columns through web api.I only have 2 rows in table.If i request Id 1 in body then in Id 1 row the coloumn name " x " need to be updated to 1 and then followed by id 2 row coloumn "X" need to be updated to 0 . I write the validations but it can update 1 row only whether it is Id 1 or 2. I use 2 script tasks in process model with XOR gatewat one script task is for id 1 and another for id 2 . In script task output ill configure process varibles and For X coloumn i use " is stored at index" but it throws an error said

         Error writing to process variables (Cannot derive list type from List of Number (Integer) in which to store data of type List of Boolean, for variable 'pv!variable_feed'.) (Data Outputs)

    2 replies

    selvakumark
    Participating Frequently
    October 28, 2021

    Hi,

    Can you provide some more info about the issue you're facing? Probably screenshots might help.

    October 29, 2021

    Thanks For your response .I get the answer