Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Creating Problem from an Incident

Steven Chaparro
ServiceNow Employee
ServiceNow Employee

Hello All,

Im trying to complete the ITSM (Madrid) Simulator but now I am not sure if the simulator has some issues or I don't know what are the best practices.
One of the task is creating a Problem from an Incident. The instructions are the following:

We want to be able to create a new problem from an incident with all necessary information.
1. Following fields should be copied from an incident when a new problem is created from an incident.
- Configuration item
- Priority
- Assignment group
- Short Description
- Description

2. Impersonate itil.<your first name> and click to create a new problem from an incident. Following fields should be copied from an incident:
- Configuration item
- Priority
- Assignment group
- Short Description
- Description

A quick search in the servicenow documentation I found this: Create a problem | ServiceNow Docs
With the following note in the procedure to create a problem from an incident:
Note: Use the property List of attributes (comma-separated) that will be copied from the incident to create a new problem (com.snc.problem.create_from_incident.attributes) to specify fields on the Incident form. The values of these fields are copied to the respective fields on the Problem form.

A screenshot where I added the fields required...
find_real_file.png

 

So I did that, and still the task failed, with the following recommendation:
"Please validate fields are copied from Incident to Problem using best practices."

What I am missing here?

1 ACCEPTED SOLUTION

Adding the field inside the property is an best approach for simulator !!

 

If you hard code a script it in the UI action then the task will fail

 

Please mark the answer as correct or helpful, if it helped you !!!

 

 

Regards,

Chalan

View solution in original post

16 REPLIES 16

Steven Chaparro
ServiceNow Employee
ServiceNow Employee

I had an open case with ServiceNow about my issue with the simulator, and today they replied back. 

ServiceNow:
"I will mark the task successful, this was a validation error. apologies for the inconvenience."

So for future reference, the best practice is indeed updating the property adding any field you want to copy over to the problem. I will mark the first response that said that approach was the best practice as the correct answer. Thank you all for all the help.

Harikrishnan Na
Tera Contributor

Try updating the Incident Properties or Problem Properties according to your requirements whether to copy values when create problem from Incident or Incident from Problem