- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 12:15 AM
The req is
the Contact type for Incidents defaults to None when a user opens/creates a new Incident on the Platform and
the Contact type for RITMs defaults to None when a user opens / creates a new record form on the Platform.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 04:46 AM
Hi,
Please do not post duplicate questions and make confusions.
You posted same question three times.
You can try below approach.
> Add the variable to variable set.
> Include variableSet in all required catalogs.
> Set the default value of variable as NONE in variable configuration itself.
> You can create an onLoad client script for that on variable set
> In UI Type : select as Service Portal
> Add this script
g_form.setValue('contact_type', 'PHONE'); //check backend values
Mark as correct and helpful if it solved your query.
Regards,
Sumanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 12:21 AM
Hello,
Contact type is mandatory once so you cannot bypass unless you have created Incident from Portal end through Record producer and to make contact type as None through RP simply card code in script part like below
current.contact_type = '';
Same case for RITM as you can set either in 'Run script' activity or 'Set values' activity through workflow.
Please hit like and mark my response as correct if that helps
Regards
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 12:29 AM
Hi,
I have understood for the Incident,
But for ritm , how do I make the Contact type for RITMs defaults to None when a user opens / creates a new record form on the Platform.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 05:04 AM
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 04:46 AM
Hi,
Please do not post duplicate questions and make confusions.
You posted same question three times.
You can try below approach.
> Add the variable to variable set.
> Include variableSet in all required catalogs.
> Set the default value of variable as NONE in variable configuration itself.
> You can create an onLoad client script for that on variable set
> In UI Type : select as Service Portal
> Add this script
g_form.setValue('contact_type', 'PHONE'); //check backend values
Mark as correct and helpful if it solved your query.
Regards,
Sumanth
For RITM as you can set either in 'Run script' activity or 'Set values' activity through workflow.
Also you can write simple On before BR on sc_req_item table either for one item or for all and set Contact type to None. it's simple
Please hit like and mark my response as correct if that helps
Regards