- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 06:17 AM
We have created new field called TYPE in the problem form which has two values
* proactive
*reactive
Now when we create problem from an incident form then it should auto populate with the value "proactive".
Suggest some ideas!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 08:10 AM
Actually is way simpler then i thought in this case. You just need to add 4 marked below lines. Of course change fieldname and value 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 06:24 AM
Hi,
If this field is also in Incident table you can add fieldname to this property com.snc.problem.create_from_incident.attributes
If field is not in incident table you can create BEFORE Business Rule triggered on Insert and you can check in code if there is related INC with this problem, if it is update Type field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 07:06 AM
This field is not in the incident form. This field is to rate the problem record so we need to show whether it is proactive or reactive.
Hence if we are creating problem through this approach then it should populate as "proactive" in the type field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 07:12 AM
If i good understand you are using "Create Problem" UI actions right?
So you can update it with server side action which will update this field on problem record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 07:52 AM
Hi Kamil,
This is the UI action code.
Could you please suggest with the code is to be added.
Thanks,
Gayathree S