Add template with the help of variable does not work in Create Catalog Task

Markus Reber
Tera Contributor

Hi all

In the Flow Designer you can select a template in 'create catalog Task' with which variables are finally displayed in the SCTASK. I would like to deliver the desired template in a variable in the subflow via the flow inputs so that I can use different templates flexibly.
When trying to use variables in the action in the Template field, it is always stated that the data type is not allowed here.

Does anyone know which data type is required here?

1 ACCEPTED SOLUTION

Ivan Betev
Mega Sage
Mega Sage

Hi @Markus Reber ,

 

it won't work like this:

 

1. It expects you the Catalog Item type of a record, and not String.

 

IvanBetev_0-1708854113190.png


2. After you select the Catalog Item as a template you will have to manually select what variables to show, it's not like it will show you all of them as soon as you select the template.

 

Regards, Ivan

View solution in original post

3 REPLIES 3

Ivan Betev
Mega Sage
Mega Sage

Hi @Markus Reber ,

 

it won't work like this:

 

1. It expects you the Catalog Item type of a record, and not String.

 

IvanBetev_0-1708854113190.png


2. After you select the Catalog Item as a template you will have to manually select what variables to show, it's not like it will show you all of them as soon as you select the template.

 

Regards, Ivan

Hi Ivan
Thank you for your answer! That's how I've done it so far. I wanted to make the whole thing a bit more flexible, but didn't realise that the next problem would follow with the assignment of the attributes.
I can solve this with a few templates (see attachment).
Regards, Markus

Markus Reber
Tera Contributor

Hi Ivan
Thank you for your answer! That's how I've done it so far. I wanted to make the whole thing a bit more flexible, but didn't realise that the next problem would follow with the assignment of the attributes.
I can solve this with a few templates (see attachment). Scripting could certainly make this much more elegant, but I don't have enough time for that at the moment.
Regards, Markus