Showing 6 results.
Items per Page 50
of 1

CVP Forum

Combination View Flat View Tree View
Threads [ Previous | Next ]
Folks,

Can you confirm in 5 that decision objects, are truly reusable (probably though the component grouping option)

Reason is, if we have to write similar decision components in a large call flow and use the XML bit, we have to duplicate it (and stored as additional XML files). If its Java, its stored as one class but referenced. So if we change the java its only changed in one place, whereas the XML code in those three objects (all doing the same kind of function) has to be created/managed each time.

Can you consider or advise of a good way to reuse your XML decision code so we only have to update it in one place.

One option might be to extend the decision component, and rather than just XML, also have an XML lib reference dropdown to choose.

Then have an additional facility in Audium to just write this XML and save it as a reusable library function?

Does this make sense?

Hello,

Not sure why no one has responded to this post so I am going to! Better late than never right? 8-)

Yes you are correct, if you have 3 XML Decision elements that each use the same XML content you would have to make 3 copies of the XML and once you change 1 you would have to change all of them.

And yes, element groups could be a good solution to this. You would make an element group that basically only contains that decision element and then save it as a template. Now, you can update the template when you need to make a change and every time you bring over the element group into an application it would reflect the latest version of it. The big problem here is that all the copies of this element group you have copied over prior to the change still reflect the old XML.

So if you want to have literally a "singleton XML decision" then there is no easy option in today's software. I guess what you could do is create an application whose contents are just this decision and then perform an application transfer to that application and pass some variable that would tell you where in the callflow you came from so that when the singleton application transfered back you would have a decision at the top of the callflow that would look at that variable to know where to go next. Kind of ugly but it would do what you want.

To expand on your suggestions, one could conceive of an XML decision "repository" that when you are creating a new XML Decision could simply reference instead of writing your own. I'll go ahead and put that into our system as a feature request.

Thanks, for responding this (you're right it's been sitting here for some time)

I see loads of duplication going on with check if it's this, check it's that. Ideally if in a resource folder we can create global XML checks, then reference them in the shell of the decision component (even substitute parameters in if your dynamically influencing the XML comparision of one object result from others)