Automic Workload Automation

 View Only

  • 1.  Compare 2 workflows & jobs

    Posted Jan 12, 2026 06:05 AM

    Hi Team

    We have completely different environments - UAT & Prod

    What is the easiest method to compare 2 workflows and the jobs to ensure they are the same.

    I know the workflows can be exported with references and compare the 2 XML files.

    Is there perhaps an easier way?

    Regards

    Klaus



    -------------------------------------------


  • 2.  RE: Compare 2 workflows & jobs

    Posted Jan 13, 2026 01:56 AM
    Edited by Olgun Onur Ozmen Jan 13, 2026 02:05 AM

    Hi Klaus,

    I'm sure there are different ways to check if objects are equal or not, but I think the best method is to integrate automic into a version control application like Git. This ensures equality between environments and also you can push/pull objects from the dev branch to the live branch via a DevOps pipeline without touching the live environment.
     
    I integrated automic "version control" module into my "Azure Git repository" a year ago. automic supports this and it works. I'm providing a few links below, but the documentation here is very superficial. You should discover how it works in test environments before trying it in the live environment, and you should take notes on the steps. It would be good to work with someone who knows Git.
    links:
    Thanks.



    ------------------------------
    Olgun Onur Ozmen
    https://www.linkedin.com/in/olgunonurozmen/
    ------------------------------



  • 3.  RE: Compare 2 workflows & jobs

    Posted Jan 13, 2026 02:53 AM
    Edited by Joel Wiesmann Jan 13, 2026 02:53 AM

    If the question is only about comparing objects, I'd go a similiar way like Olgun described. I prefer JSON over XML when it comes to identify what has been changed, because there is way less overhead in JSON structures. Also involving git is a nice benefit, especially if it's not just about comparing but building something bigger.

    I built a logic on my own that recursively exports objects as JSON in a filesystem folder and then commit this to git. This allows me to do merge requests and work with multiple branches at the same time. I can exactly see the changes that have been done, even though the changes must still be interpreted.



    ------------------------------
    ☎️ Swisscom Automation/AI Engineer & 🧙 PEM Creator

    Online Automic Training 24/7:
    https://membership.philippelmer.com/ (deutsch)
    https://pemautomic.com (english)
    ------------------------------



  • 4.  RE: Compare 2 workflows & jobs

    Posted Jan 13, 2026 03:20 AM

    Thank you for the responses.

    Seems Git is the way to go which will be new to me.

    Regards

    Klaus

    -------------------------------------------