As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am pretty new to iSM, so forgive me if this is something simple. I tried looking around for it, and also tried a number of things, but nothing seems to work.
I have an iSM flow. It is calling a iDM process. The process if verifying files before the actual load occurs. If all the files are fine, the return code from iDM should be a 0. If there are verification errors, then 9991 is being returned. To be honest, I don't even know if the way that the iDM process is returning the 9991 is the best way.
We just upgraded to iSM 7.0.0.
The first thing I tried was creating a ETL Return Code on the call to the iDM process. Again, new to this. When creating it, it asked for a value and I entered 9991 and gave a description of Verification Failed. I also entered a 0 and called it Verification Successful. I then created two QA agents. I created a relationship to each. On one, I said OnCustom and selected 0. On the other, I selected OnCustom and selected 9991. The process went through both QA agents. I am not sure why.
So, then I thought maybe I could capture the return code into a variable and use that. I tried various ways, but nothing seemed to help. For my properties on the ETL object, my Document Return Type is Statistics and the Statistics Handler is etlsm. Here is the top portion of my QA agent results that show the statistics output. You can see the 9991 in it.
Based on your QA Agent, it does seem that the agent you had used to call the iDM process returns a valid etl document.
While I am not sure why your custom branches do not take effect, may be the oncompletion is checked on both?, I could still think of the following to get it to working:
Start - iDM Agent [returning ETL status doucment] - Decision Step [use XPATH expression for element statistic with attribute name as REQ_RC to compare it against a constant value REQ_RC] - Branch out your decision step here further accordingly.
Note: You can build the same logic using Switch case instead of a Decision step.