Page 1 of 1

Having issues w Deploy Agent Source

Posted: Tue Apr 02, 2024 2:37 pm
by djgreddy
I created a source and have applied it to my client. All i get is Failed when the script runs.

The Script(557) failed in the Then section at step 48. The reason: SQL Get DataSet Variable does not exist
Script: S557 - Starting at Server Time: Tuesday, April 2, 2024 8:31:32 AM
Script step logging has been disabled. Please set @ScriptEngineEnableLogger@ = True in your script to enable function logging.

That's in the results of the failed script. Please let me know what I'm missing.

Re: Having issues w Deploy Agent Source

Posted: Tue Apr 02, 2024 9:14 pm
by Cubert
First, What version are you on?

Next is your APM Deploy Sources script at build 1.0.14?

Screenshot 2024-04-02 170809.png
Screenshot 2024-04-02 170809.png (76.49 KiB) Viewed 2245 times

Line 47 executes this SQL, If you have a source listed in sources then this should produce a datarow.

Code: Select all

SELECT * FROM plugin_p4a_apm_source_policy WHERE `Name` = '@SourcePolicy@' and `Windows` = '1';
Assuming the agent is windows.. Have a look at the commands that run during script time frame. These would be commands sent to agent to execute updates, scans , adding sources and such. Post any data returned by agent.

Also make sure your up to date with APM. 1.0.0.14

1.0.0.14 available here https://delivery.shopifyapps.com/-/4364 ... 7335440336