- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 06:13 AM - edited 02-14-2024 06:43 AM
I have record producer for change table. When I submit the form the request details should update on change request - description field.
@shyam10
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 06:58 AM
Hello @sunil kumar11 ,
You can write your record producer script as below,
var desc = '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 07:07 AM
Yeah you could do something like.
current.description = 'Source MSSQL DB: ' + producer.mssql_variable + '\n';
current.description += 'Hostname: ' + producer.hostname_variable+ '\n';
current.description += 'Source Environment: ' + producer.source_env_variable+ '\n';
And so on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 06:52 AM
Hi @kps sumanth
I need to get only 6 fields to shown in the description as you can see the screenshot which i have shared
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 07:07 AM
Yeah you could do something like.
current.description = 'Source MSSQL DB: ' + producer.mssql_variable + '\n';
current.description += 'Hostname: ' + producer.hostname_variable+ '\n';
current.description += 'Source Environment: ' + producer.source_env_variable+ '\n';
And so on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 10:47 PM
Great its working 🙂
only 1 doubt here . SYS ID is getting instead of CI name
Source Database Instance CI: c57ee6e3db8a4094a7c09635db961951
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2024 06:06 AM
Add .getDisplayValue() to the end of producer.variable_name for any reference fields.
producer.ci_name.getDisplayValue()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 06:58 AM
Hello @sunil kumar11 ,
You can write your record producer script as below,
var desc = '
