I want to see how many processes are deployed in a particular environment.
You can use the AtomSphere API to Query ProcessEnvironmentAttachment.
The number of documents returned is the number of deployed processes.
Could you guide me in doing so, or any documentation for doing the same.
You need the AtomSphere API connection component.
The WSDL URL is https://api.boomi.com/api/soap/v1/[your account ID]?wsdl
Set a user who is granted access to use the AtomSphere API (preferable a system user with password never expires)
Set Action to Query.
Press the plus sign in Operation.
Press Import button
Choose the appripriate Query:
When imported choose filter Add Expression
Set the parameters in your connection shape:
I have built the process and executed the process.
But its not showing me any output.
Are you getting any response from your Atom WebSphere API query?
Your query parameter should be the ID of your environment, found in Atom Management.
Are you counting from the response profile?
I am getting the following error Leif:
[Filter operation (EQUALS) requires 1 value(s), but 0 value(s) were found] Filter operation (EQUALS) requires 1 value(s), but 0 value(s) were found
Have you set a Environment ID in your parameters in the connection shape?
Or did you set the parameter in the operation correct?
Yes Leif, i did that.
Can't quite figure that one out.
Your error message suggests that no parameter value was found.
Try removing the parameter and inserting it again.
If that fails, try to remove the filter from the operation, insert it again, and set parameter again in the connection shape.
If that also fails, I'd like to see screenshots of your process, connection shape and operation.
Hi Leif Jacobsen,
Don't we get only the count of the deployed processes in the Query Operation?
I guess we need to add the DOC_COUNT as a property and using script we can get the count of the documents and store it in a property, this property(DOC_COUNT) may give the value.
No, the reponse is all the deployed processes with component types and process ID's. Each process has its own document.
From that you could set a DPP to count the number of returned documents.
Just sharing my Idea.
Exactly. Something like this:
Hope it helps.
I think my question is confused.
I want to know how many processes are deployed in my environments.
As leif suggested, the Atomsphere API is the way to do it.
After that we can add the script in order to get the count of the Documents.
Maybe the question is not that smart as it appears. It is not clear from the question whether it is necessary dynamically or GUI will work. See the screen below.
Through GUI, we can tell how many processes are deployed in that particular Envioronment.We can just see the folders and the processes.
Retrieving data ...