Skip to main content
Inspiring
Oct 28, 2021 6:05 AM UTC
Question

error in script task

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
    Oct 28, 2021 8:52 AM UTC

    Hi,

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

    Inspiring
    Oct 29, 2021 10:50 AM UTC

    Thanks For your response .I get the answer