


Hello,
in LC ES 2 there's still the old "object" type as part of WorkflowDSC but it's regarded as deprecated and existing only for backwards compatibility.
While I understand that orchestrateable service operations should use either current LC types or define their own custom types mapped to Java classes/types, I'm wondering if there's a non-deprecated way of passing along basic Java objects/variables that are not matching any specific LC variable type and that do not match custom types declared in the custom DSC.
Specifically, I'm dealing with small byte arrays. While the "LC version" of a byte array is probably a Document variable, wrapping my byte arrays in Documents is a bit overkill and, especially, I'm dealing with an interface that by definition is required to use byte arrays as input and output parameters.
Currently I'm using the deprecated "object" to represent my byte arrays but I'm wondering:
Thanks in advance for your reply and best regards,
Giovanni
Views
Replies
Sign in to like this content
Total Likes
We also have the binary type, which is under the covers a byte[] defined as part of the system component.xml. This isn’t a standard datatype but if you search for binary you can find it and use it in Workbench.
Here is the mention of it in the online docs if you search for binary.
http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000463.html
Thanks a lot for the detailed answers.
I really haven't noticed the "binary" type before, and, after searching for it I've also searched for the class/type I was hinting at in 3) and it is actually available in the LC registry. I must admit that, since LC Workbench ES exposes by default many more variable types than earlier LC releases, I hadn't used the "Search" feature for a long time.
The bug I was mentioning is not related to this subject though, it's something already approved by product management and engineering and I just have the task to document it and add it to Watson. It's about DigSig's SPI, and I was thinking of adding also the problem of missing types because I didn't see HashWithReference, one of its input/output types, but searching for it I can find it.
Thanks again and best regards,
Giovanni
Views
Replies
Sign in to like this content
Total Likes
One more detail after playing with the "Search" function in Workbench.
Actually even "java.lang.Object" is available and, after selecting it, it turns out to be the type "Object" which appears, strangely, under the types related to the "EMail" component.
Therefore there's also an answer for those looking explicitly for generic objects, without resorting to the deprecated "object" in WorkflowDSC.
Thanks again and best regards,
Giovanni
Views
Replies
Sign in to like this content
Total Likes