I am experiencing a problem since my Community Studio have updated to the version 2019.7. Any minor modifications I make to a Project, once uploaded to the orchestrator will make it fail with the state marked as “Faulted”. In order to verify if something was wrong with my code I downloaded the latest working package from the Orchestrator [which was published from 2019.6], re-uploaded it and discovered that it still shows as “Faulted” when trying to run it.
After some investigation, I have noticed that since updating to 2019.7 the .json file drastically changes at the moment of publishing. See pictures below to understand the difference, most noticeable one, the schema changes from 3.2 to 4.0. I have tried to change back the schema manually and re-publish, but at the moment of publishing it gets again upgraded to 4.0.
Could you advise in what to do in order to make the newer version of studio behave as it was previously? Please let me know if I can provide any further information and thanks in advance.
I have just run the working version downloaded from the Orchestrator with schema 3.2 - no issues encountered. Afterward I published it and re-downloaded it (schema now changed to 4.0) - this also run with no problem in my local pc with studio. No faulted message appears in any of them, however the second one keeps getting faulted in the orchestrator.
I have tried to do as you said, first anomaly that I encountered was that few activities from GetAppCredentials were missing (standard activities from the REFramework). Because of that it failed validation and couldn’t publish it. So I proceeded in re-creating the activities, saved, published and it still fault in the orchestrator. See below “GetAppCredentials”, new .json and job details from the orchestrator.
I did follow your instruction and re-downloaded all the packages. However, even after downloading the packages those 3 activities were missing in the flow “GetAppCredentials”. On the other hand they were present in the activities pane and by looking at another REFramework I was able to fix them. Still “faulted” once publishing
To follow up → to download the packages I go via “Manage Packages” → “All Packages” → select all the missing one and press “Install” → “Save” /// Am I doing it right?
Yes that’s correct
I compared your packages from latest screen with those from the very first. Seems that all packages are installed. And you said that there are some error activities still. This might be the reason why workflow was not working in Orchestrator. Seems that something is damaged in the project. Quite strange thing I know that it’s easy to say but only thing I have in my mind is to create completely new workflow and based on the old one just recreate everything from scratch.
what I don’t get is why if I have a version running in the orchestrator and I download it and make edits to that the project suddenly it stop working. Even if I don’t make any changes at all it stops working when re-published. Thing is that the project is quite big and re-create it would take so much time.
I have done another testing and create a simple workflow that just write a line and tried to run it from the orchestrator. Again the project get marked with status “Faulted”. At this point, I do not think is an orchetrator issue but again the studio installed in my machine, which I already tried to reinstall - shall I try a clean install again? See picture belows: