Skip to main content
May 17, 2024
Question

How to get object diff details by API

  • May 17, 2024
  • 6 replies
  • 0 views

I want to get the diff text between expression rule to integration some automation flow.

Do Appian exposed any API to support such?

Or is there any API could get object source by version?

    6 replies

    stefanhelzle0001
    May 17, 2024

    I am not aware of such an API.

    What is your specific use case?

    May 17, 2024

    we have some custom code review check items, want to check the changed lines by automation tools

    davidj137213
    May 17, 2024

    Use an API to export the package and after that read the contents of the package (zip file) and compare the files.

    It's a little bit complicated, but as Stpehan said, there is no api with that functionality.... you'll have to create it from scratch

    May 19, 2024

    > export the package and after that read the contents of the package (zip file) and compare the files.

    I want to compare the diffs for same object but in different version, how to achieve this by exporting package?

    davidj137213
    May 19, 2024

    WHen you export the package, the objects will have the same id.. open files with the same name (*.xml), parse the xml, and compare the contents of the files. YOU ahve to check wiich nodes you want to compare.... BUt it's quite complicated