Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

ATF Data Picker

PiotrekL
Tera Expert

Hi

 

I created record on table pm_project_task with server script in ATF. Logs showed sys_id so i am sure it is created. However when I use Open an Existing Record I have :

FAILURE: Failed to open the 'pm_program_task' form with id ''
A sys_id was expected, however none was present. Please ensure that you are passing in the document id correctly

here I set output. Log displays sys_id. In screenprint opening record options available(actually only one)

var taskID = task.insert();

	outputs.sys_id = taskID;
	outputs.table = 'pm_program_task';
    gs.log(taskID,'Tom');
 

Reagds

Piotr

 

 

 

1 REPLY 1

Tanushree Maiti
Tera Sage

Hi @PiotrekL 

 

Check this post . it will help you to solve the issue.:

 https://www.servicenow.com/community/developer-forum/atf-failure-with-quot-open-an-existing-record-q...

 

https://www.servicenow.com/community/developer-forum/atf-test-stuck-in-quot-open-an-existing-record-...

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: