Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
5 subscribers
Views
1185 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hello, We are making a servlet plugin that make automatically progress a fl
alexis gutierrez
over 9 years ago
Hello,
We are making a servlet plugin that make automatically progress a flow setting information on the acp of the human Task of the process.
This is working fine using this part of this code for acp of primitive type (String, integer...):
TaskController session;
try {
session = TaskController.initialize(context, processID); session.execute(task,new ActivityClassParameter[] {
if (task != null) {
session.execute(task,new ActivityClassParameter[] {new ActivityClassParameter(
new NamedTypedValue("Param1", AppianTypeLong.STRING, "Item1")
)
....
Now I need to do the same thing but with an acp of type CDT.
I don't fine any explanation or documentation on this subject. All the import of CDT is for Project-plugin and not for java project as it´s explain to do on the help for servlet-plugins.
So please let me know how I have to proceed.
Thank you in advance.
Alex
OriginalPostID-155027
OriginalPostID-155027
Discussion posts and replies are publicly visible
0
James Carter
Appian Employee
over 9 years ago
Take a look at the Type Transformer library under Shared Components. It makes it easier to generated TypedValue objects that represent complex structures (CDTs, Dictionary's, Arrays, etc)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel