How do you map a record producers Name, Requester and Category to specific Case fields?

Daniel R2
Kilo Sage

Hi, I am working on a CSM Project and would like to map the below from when a record producer is used, directly into the fields of a case.

 

Mapping required:

1. Name (Record producer) -> Short Description (Case)

If a certain record producer is used it automatically maps to the short description of the case

 

2. Requester (Submitter) - > Internal User (Case)

The Requesters name also populates in the internal use field of the case.

 

3. Categories - > Case Type 

3 REPLIES 3

Anil Lande
Kilo Patron

Hi,

You can use record producer script to map variables with Case form.

Can you please share what you have tried and what is not working?

https://servicenowguru.com/tag/record-producers/

https://www.youtube.com/watch?v=6guuYMnQFKU

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Record producers are used to create record on the table itself. So on the record producer created for the Case table you just need to open the variable created for name and there check the map checkbox and select the field name to which it should be mapped on case table

 

Saurav11_1-1666698695526.png

 

Do the same for requestor and categories.

 

Pease mark my answer as correct based on Impact.

 

Sagar Pagar
Tera Patron

Hi @Daniel R2,

 

You can mapped the producer variables with target table using two ways.

1) Using Mapped to field on variables

 

2) Using producer scripts

Her is a sample scripts -

 

current.short_description = producer.name;

current.internal_user = producer.submitter;

current .case_type= producer.categories;  /* Make sure to modify the fields name as per your table and producer variables. */

 

 

 

Thanks,

Sagar Pagar

The world works with ServiceNow