How to add Variable Editor (Formatter) on the Catalog Task page?

R-D
Tera Contributor

Hey, I want to add the Variable Editor (Formatter) to the catalog task page where you can see the details of the task. Like this picture:

Like thisLike this

I tried to add the variable editor by editing the form design but it did not work. Can some one show me how to do it. 

 

Thanks. 

 

Here is the picture of the variable editor that shows the answers typed by the user while submitting  a service catalog:

42.PNG

 

 

1 ACCEPTED SOLUTION

OK, so that confirms that there's not a mismatch between the view in Form Designer and the one you're using when looking at catalog tasks.  So my assumption is that you need to update your workflow to copy the variables from the RITM to the task.  This is done in the Catalog Task creation activity as shown below.  (Alternatively, if you always want to copy all variables, you could create a script in an insert BR on the sc_task table.)

ronprice_0-1680795387795.png

 

View solution in original post

8 REPLIES 8

ronprice
Giga Guru

It should be there by default - are you working with a custom view of SCTASK?  You can add it either by going to Form Designer and pulling the Variable editor (formatter) onto the form, or by going to Form Layout and adding it.  See examples below.  Please mark as helpful/correct if this helped you solve your problem

 

Form design.jpgForm layout.jpg

 

R-D
Tera Contributor

Hey @ronprice 

I added variable as you suggested but despite of doing that it still doesn't work

ronprice
Giga Guru

Can you share some screenshots showing where you added it in either Form Designer or Form Layout and also a screenshot of the resulting task view?  In both cases be sure to include the top of the form and show what view you are using.  I'm guessing that you have a mismatch between the view that you're adding the variable editor to and the one you're actually seeing when you open a task.

ronprice
Giga Guru

Just for example, if you look at the views available on catalog task in my PDI, there are 4:

ronprice_0-1680785737615.png