Question for committing "Scheduled Script Executions" to Source Control in Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2022 03:09 PM
I have created a few scripts using Scheduled Script Executions using Studio. But after I committed all my changes, I don't see those scripts in the github repository. I do see other the other files that I created in the commit. I checked it by doing a pull of the repo from another instance and those scripts are in fact missing.
Is there a way to get these scripts into source control. Also are there other application files from Studio that might not be committed to source control that I should know about?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2022 09:00 AM
I tried this test, hopefully it will clarify what my problem is:
I create a new script, "Create Application File"->Scheduled Script Execution. Then I filled in the options and script. Clicked Submit.
But there was nothing added to the Update Sets in the Source Control->commit. Thus I cannot add the script to source control.
If I look at the sysauto_script table, I can see my script. Also in the sys_app record for my application, I will see the file for the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2022 09:06 AM
Does it show up on your update set ?
Can you make sure your application is tied to the repo correctly ?. can you paste a screenshot of sys_Repo_config record for your application .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2022 10:40 AM
Like I said, I don't see the Scheduled Script Execution scripts added to any update set to be committed. Thus I cannot get those scripts into git. My other files (hard to determine if all of them since they aren't really files in the traditional sense but xml for the deltas) are there and thus can and are committed to my repo in github.
Here is a screenshot from my PDI for the sys_repo_config table. I also have a similar setup in our company instance which has the same problem for committing the scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2022 12:11 PM
I tested this behavior on my Tokyo version instance and seems like its not showing up for commit on my update set 😞 .. I have worked with sysauto_script alot in the recent time and it used to work without any work arounds.
One more thing you could try to do is ,
1. Publishing the application version
This would also commit and publish everything from that app to company repo (apprepo for the company)
2. if that also do not work, you can forcefully add all your sysauto_script records to your update set ( that works , as i tested it just now )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2022 10:34 AM
Thanks Ram117,
I'll try manually adding to the update set.
Sean.