CAD doubts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 11:54 PM
1. Can you please explain how previous and current objects work, and which objects are accessible in each business rule(After, Before, Async, Display) ?
2. Which of the following is NOT a Flow Designer feature?
Options:
A. Run a flow from a Catalog item
B. Call a flow from another flow or subflow
C. Add stages to a flow
D. Test a flow using the “Run as” feature
Is it B or D?
3. What data types of Flow Variables are supported to store record data? (Choose three.)
A.Choice
B.Date
C.Array
D.Integer
E.String
Is it ACD or CDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 12:02 AM
Hi @PoojithaVap ,
Can you please explain how previous and current objects work, and which objects are accessible in each business rule(After, Before, Async, Display)
Answer:
business rule execute when CRUD operations happen on any record.
When before and After Business rule is running it gets two copy of the record which is changed.
Previous is a copy of same GlideRecord object storing old values (Original copy)
Current is copy of GlideRecord object storing New values (Updated copy)
For Example:
When you opened any incident it was having state as new and Assigned to empty (This will be your Previous copy). Now you changed state and assigned_to fields and saved form (This is updated i.e current copy).
If you try to log below lines for above example :
gs.info(previous.state); // it will print new (i.e 1)
gs.info(previous.assigned_to); // it will print nothing (assihnedto was empty)
gs.info(current.state); // it will print In Progress (i.e 2)
gs.info(current.assigned_to); // it will print sys_id of assigned_to user
Which of the following is NOT a Flow Designer feature?
D. Test a flow using the “Run as” feature
What data types of Flow Variables are supported to store record data? (Choose three.)
ACD
Sandeep Dutta
Please mark the answer correct & Helpful, if i could help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 12:31 AM
For Async and Display business rule there is no access to previous object right?