04-11-2012 07:50 PM
I want to create a context variable using Studio automation operation and read/write them with a Java class generated via the IDE.
Also, I would like to create an operation context variable in JAVA and read/write them in a Studio automation operation.
References to code examples are ok, I haven't been looking in the correct places....:-/
04-11-2012 08:16 PM
You have here source code examples of default operations available in studio. You can look around there are more other operations.
About your question to get the Operation context, you just have to ask to automation to inject into your operation:
@Context
protected OperationContext ctx;
And get your value from this object.
ctx.get("myValue");
I'm not sure to understand the second part of your question. Anyway I hope with our example, it will be fine.
04-11-2012 08:16 PM
You have here source code examples of default operations available in studio. You can look around there are more other operations.
About your question to get the Operation context, you just have to ask to automation to inject into your operation:
@Context
protected OperationContext ctx;
And get your value from this object.
ctx.get("myValue");
I'm not sure to understand the second part of your question. Anyway I hope with our example, it will be fine.
04-12-2012 11:37 AM
The ctx.put("myValue", value) I found in OperationContext.java answers my second questions.
04-12-2012 06:12 AM
(shortened title)
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.