how can i define which form view to use when the ritm or sctask from the workflow ?

chercm
Mega Sage

how can i define which form view to use when the ritm or sctask from the workflow ? 

 

i have define some extra icons on the form view. 

 

chercm_0-1703261077858.png

 

2 ACCEPTED SOLUTIONS

Hello @chercm ,

To set up the desired views, follow these steps:

1. Create the two views you want.
2. Navigate to System UI > View Rules.
3. Create a new view rule, selecting the relevant table.
4. Use the condition builder to define triggers based on variables or fields.
5. Refer to the image below for a visual guide.

Here's an example: I set up a view rule for the catalog task table using a variable choice and a field. In the view field, I specified my view name. You can customize your rules similarly.

 

AniketChavan_0-1704093260640.png

 

Let me know your views on this or still have any queries and Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Regards,

Aniket

 

View solution in original post

Hello @chercm ,

Click on "show related fields" and then try to search for variables,
Please refer the below image for better understanding

AniketChavan_0-1704102846636.png

 

View solution in original post

12 REPLIES 12

ahefaz1
Mega Sage

@chercm 

 

Try using view rules. You can add and define conditions, so when the form loads servicenow will apply the right view to the form.

 

ahefaz1_0-1703261299799.png

 

Please mark helpful, if this helped.

 

Thanks,

@ahefaz1 @Aniket Chavan how can i do the rule like if i have a sctask for peripheral task and another meeting room issue task ? so each one will have different view . the one in red is for the stock room and the variables are for the meeting room issue 

 

chercm_0-1703287598175.png

 

Hello @chercm ,

To set up the desired views, follow these steps:

1. Create the two views you want.
2. Navigate to System UI > View Rules.
3. Create a new view rule, selecting the relevant table.
4. Use the condition builder to define triggers based on variables or fields.
5. Refer to the image below for a visual guide.

Here's an example: I set up a view rule for the catalog task table using a variable choice and a field. In the view field, I specified my view name. You can customize your rules similarly.

 

AniketChavan_0-1704093260640.png

 

Let me know your views on this or still have any queries and Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Regards,

Aniket

 

@Aniket Chavan i tried creating but i cannot find the Variables field

 

chercm_0-1704101962745.png