Variables are not showing in RTIM and SCTASK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 01:48 AM
Hi Team ,
can any one please help me here
We have catalog called ' simcisry'
Variables we have
when i submit form from serviceportal
If we check ritm in variables section , [ short descripition and description ] is not showing . Please screenshot below
For SCTASK also same , behavior .
In workflow i have added variables also , but still those two variables ' short description and description ' is not showing .
can anyone please provide what is the solution for this . Please help me here .
Please provide detalied steps to resolve this issue
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 04:00 AM
Hello @nameisnani ,
While creating any variable you can make those variable as 'Global'. Then all the details might be showing in RITM and SCTASK also.
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Atanu Maity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 07:48 PM
Your logic got worked out , But cilent is saying when form loads they don't want short desp and descp to be visible first , based on the condtions short desp and desp to be visible .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2024 11:28 PM
@nameisnani just make the below changes,
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
g_form.setMandatory('description_1', false); // description variable name
g_form.setMandatory('short_description_1', false); // short description variable name
g_form.setDisplay('description_1', false); // description variable name
g_form.setDisplay('short_description_1', false); // short description variable name
}
g_form.clearValue('description_1'); // description variable name
g_form.clearValue('short_description_1'); // short description variable name
if (newValue == "prod_access_scdaas") // choice value
{
g_form.setMandatory('description_1', false); // description variable name
g_form.setMandatory('short_description_1', false); // short description variable name
g_form.setDisplay('description_1', false); // description variable name
g_form.setDisplay('short_description_1', false); // short description variable name
} else {
g_form.setMandatory('description_1', true); // description variable name
g_form.setMandatory('short_description_1', true); // short description variable name
g_form.setDisplay('description_1', true); // description variable name
g_form.setDisplay('short_description_1', true); // short description variable name
}
}
Let me know whether this works for you or not ?
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2024 06:34 AM
@nameisnaniif my response helped you please accept my Solution or let me know if you still have any issues.
Happy to assist
Swathi