Automate Change Request and Approval Process using ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2017 10:06 AM
So I'm trying to develop an ATF that automates the change request process through all of the necessary steps until the request is closed in the end.
So far, I have been able to impersonate a user to open a change request form, fill in all necessary fields, and submit the form for approval. Now the next step would be to impersonate the necessary approver and open up the record to approve the request. I have tried multiple different test steps to try to simulate this step but keep running into issues. The problem is is figuring out a way to simulate the approver to open up the same change record that was submitted in the previous process. Does anyone have any experience doing something similar to this? I figured that with request approval being so neccessary, someone in the community has to of figured out how to simulate this whole process, Thanks!
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 07:27 AM
Hi Reza,
I followed the same steps, but in step 11, when it is querying the approval record and am getting failure message stating record not found. Any idea?
Regards,
Ragavendran R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2017 07:29 PM
I was able to use this for Knowledge approvals. We have 2 approvals required, so after my base user clicks Publish, the test impersonates the first manager, queries for their approval for that article, adding the 'Approver' to your suggested query above to get their approval record, approving, then impersonating the second approver using the same steps.
Excellent share and thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 10:35 AM
Thanks for the reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2018 06:02 AM
I've been working on a Change ATF last couple of days and was encountering issues around approvals intermittently.
Errors were specifically around a client side script running - but I couldn't figure out what was causing it to fail.
I've just now entered a Record Validation step immediately after the Record Query as follows, using the steps in my previous post as an example:
Step 8a) Record Validation -
Validate record from table 'sysapproval_approver' matches the following condition:
Approving = {{Step 7: Submit a Form.Record}}
and State = Requested
Table - Approval [sysapproval_approver]
Conditions - Approving = {{Step 7: Submit a Form.Record}} and State = Requested
It has been completing successfully time after time! Hope it helps someone 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2018 10:48 AM
Yes Please 🙂