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
3 replies
Subscribers
7 subscribers
Views
1690 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
I'm trying to write a plugin which could call Appian API which take CDT as p
pingc
over 9 years ago
I'm trying to write a plugin which could call Appian API which take CDT as parameter by using processDesignService.initiateProcess, referencing a library typetransformer-1.2.jar
I had the following exception(Log attached):
RROR com.appiancorp.suiteapi.common.TypedValueParameterConverter - unable to access property <value> in <class com.appiancorp.suiteapi.process.ProcessVariable>
Main logic Code :
//Appian CDT Type
if (processInstanceType.intValue() >= 500) {
String cdtType = ts.getType(
processVariable.getInstanceType()).getName();
String cdtNameSpace = ts.getType(
processVariable.getInstanceType()).getNamespace();
System.out.println("cdtNameSpace: "
+ cdtNameSpace);
System.out.println("cdtType: "
+ cdtType);
Datatype type = ts.getTypeByQualifiedName(new QName(
cdtNameSpace,cdtType));
AppianObject account = (AppianObject) tf.createElement(type
.getId());
...
plugin.log
OriginalPostID-171467
OriginalPostID-171467
Discussion posts and replies are publicly visible
Parents
0
Tom Ryan
Appian Employee
over 9 years ago
From the stack trace:
Caused by: java.lang.ClassCastException
It looks like you are making an invalid cast.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tom Ryan
Appian Employee
over 9 years ago
From the stack trace:
Caused by: java.lang.ClassCastException
It looks like you are making an invalid cast.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data