active setting false on sc task

priyanka1028
Tera Contributor

Hi All,

 

I am creating SC Task from workflow and when I see history of task the active is setting false and then changing to true at same time without even taking seconds of time and also the old value for both is empty. 

Can anyone tell what will be the reason behind this?

 

Please refer to the below screenshot

priyankatulla_0-1736447380080.png

 

6 REPLIES 6

JenniferRah
Mega Sage

Try checking the code in your workflow action that creates the task and make sure you aren't setting the active flag to false or setting the state to a completed state. 

 

If that looks okay, then maybe check and see if you have any business rules running on it. 

I have checked workflow and business rule, nothing is setting active to false and its an intermittent issue.

Only for few tasks active is setting false

Ankur Bawiskar
Tera Patron
Tera Patron

@priyanka1028 

did you check default value in dictionary?

Did you check BR or it's a calculated field with value as false?

The active=false during creation is in which user's session? is it system?

Since you told it's an intermittent issue then definitely something custom is working on it.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar ,

 

Thanks for your response.

I have checked the default value in the dictionary and all the other you mentioned, but there is nothing that is setting it to false.

To answer your question, it is in the user session of the person who is opening the task.