How to populate value based on view after record is created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 04:15 AM
Hi Team
I need to populate date based on task field which is refrence to task table on specific view when record is created
Please advice flow design or business rule or any other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 05:45 AM
Hi @Ramu8 Sorry mate, you can do but need script.
check code to add change dates to chage task BRcode, that will provide you base line.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 04:20 AM
Hi @Ramu8
If I understood your requirement correctly, you want to populate task created date on a record based on the task selected in the reference field. If yes, you can try to do it using the Auto-Populate feature. You can set the dependent question as your task table reference field and dot walk to the created field. Refer https://www.servicenow.com/community/developer-articles/auto-populate-a-variable-based-on-a-referenc...
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 05:08 AM
Hi @Amit Verma thanks for response but
Actually on resource_plan form we have task field
When we creating resource plan record the task field is mandatory which is refering to task table
My requirement is to populate value in custom field which is visible after resource plan is created only for specific view or list of groups mentioned in properties
Please advice how to proceed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 05:33 AM
So you have a custom field which should only be visible in a specific view or to a list of groups ? Also, the value of the custom field should be populated post the resource plan is submitted and the value of the custom field should be the created date from the task field.
Can you please confirm on this ?
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 07:58 PM
Sorry for late response
For example there is one custom field description on resource plan so i need to populate value on this description based on task field value selected I mean we need to do dot walking
My requirement is to populate value for logged who is part of list of groups or on specific view
I need to go with br as one custom field is available only after record is created in which need to populate value
So please advice