I want to filter out the assets(reference) after my sctask was closed.

dhineshkumar
Tera Guru

Hi Experts 

Once my SCTASK has closed I want to filter out the sctask one of the variable(reference).

Example : I have SCTASK variable (Asset,  Type is reference) Once my SCTASK closed. I want filter out that variable with conditions. [substatus is disposed]. How to achieve this task with after business rule.

Thanks in advance.

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@dhineshkumar 

but once task is closed why will agent enter anything in that variable?

why agent will update?

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

AshishKM
Kilo Patron
Kilo Patron

Hi @dhineshkumar ,

Add more details like this Asset ( reference type ) pointing to which table and add some screen shot .. and what is meaning of filter out.

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

@AshishKM 

table : sc_task
Once close the sc_task I want to see the asset variable records only state is disposed. on sctask variables tab(asset)
Thank You.

@dhineshkumar 

will this variable be filled from front end or during catalog form submission

so when task is closed, agent will select from the reference variable?

at that time you want to show only records with State=Disposed?

If yes then do this in variable advanced reference qualifier and if user is not selecting it during catalog form submission then this should work -> give correct state value

javascript: var query = ''; if(current.active.toString == 'false') query = 'stateIN3'; query; 

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