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
5 replies
Subscribers
5 subscribers
Views
2872 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Does anyone know how to cast the return of method getRunningValue of a ProcessVa
mimar
over 11 years ago
Does anyone know how to cast the return of method getRunningValue of a ProcessVariableInstance object to a CDT? I am getting the ProcessVariableInstance and its instanceType is my CDT. I have imported the CDT into Eclipse. But i am getting a ClassCastException when i try to do the following:
ProcessVariableInstance pviProposal = pes.getProcessVariable(process.getId(), "proposal");
Proposal proposal = (Proposal) pviProposal.getRunningValue();
Thank a lot...
OriginalPostID-97898
OriginalPostID-97898
Discussion posts and replies are publicly visible
Parents
0
mimar
over 9 years ago
From the error above i understand that your function is not installed at all. Are you using a deprecated version of the plugin due to CDT change?
If so try to add the following annotation:
@Type(namespace = <cdt namespace>, name = <The old CDT name e.g. CDT^1>)
I am not sure if this can help...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mimar
over 9 years ago
From the error above i understand that your function is not installed at all. Are you using a deprecated version of the plugin due to CDT change?
If so try to add the following annotation:
@Type(namespace = <cdt namespace>, name = <The old CDT name e.g. CDT^1>)
I am not sure if this can help...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data