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
14 replies
Subscribers
5 subscribers
Views
4206 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi everyone, I have a question regarding the plug in of Set External
lins
over 9 years ago
Hi everyone,
I have a question regarding the plug in of Set External PVs. The guide document is not very helpful in terms of how to configure the smart service with my process module. For example, where should I connect this smart service with my existing process module which includes the pvs that our end users want to edit. Is there a form that our end user can fill out the process ID and pv value?
What I am trying to achieve is to allow our end users to go back to a completed process instance and update the value of certain pvs (could involve multiple process models). Can I do that by using this plug in?
Thank you so much in advance for your help!
Lin
OriginalPostID-151006
OriginalPostID-151006
Discussion posts and replies are publicly visible
Parents
0
pedrogavinhos
over 9 years ago
I only have a 7.4. However, looking at the video I believe I've implemented it correctly, and it still seems not to be working. I've attached some screenshots showcasing the process I've made.
While debugging, I've already noticed the following behavior:
- When the Process ID (pp!id) doesn't exist, we get: ERROR com.appiancorp.gpt.ttk.smartservices.GetExternalPVsActivity - An error occurred while trying to retrieve the PVs of process with id 26530223: Does not exist: Process
com.appiancorp.suiteapi.process.exceptions.InvalidProcessException: Does not exist: Process
- When the PV we're looking for doesn't exist, we get: ERROR com.appiancorp.gpt.ttk.smartservices.GetExternalPVsActivity - An error occurred while trying to retrieve the PVs of process with id 268530223: Could not find PV: reportSalvageStates
java.lang.IllegalArgumentException: Could not find PV: reportSalvageStates
- When both Process ID and PV exist, we get: ERROR com.appiancorp.gpt.ttk.smartservices.GetExternalPVsActivity - An error occurred while trying to retrieve the PVs of process with id 268530223: null
java.lang.NullPointerException
It seems like something else is being incorrectly configured. Do you have any idea what might be wrong?
I can't understand why I'm getting the 'null
java.lang.NullPointerException'.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
pedrogavinhos
over 9 years ago
I only have a 7.4. However, looking at the video I believe I've implemented it correctly, and it still seems not to be working. I've attached some screenshots showcasing the process I've made.
While debugging, I've already noticed the following behavior:
- When the Process ID (pp!id) doesn't exist, we get: ERROR com.appiancorp.gpt.ttk.smartservices.GetExternalPVsActivity - An error occurred while trying to retrieve the PVs of process with id 26530223: Does not exist: Process
com.appiancorp.suiteapi.process.exceptions.InvalidProcessException: Does not exist: Process
- When the PV we're looking for doesn't exist, we get: ERROR com.appiancorp.gpt.ttk.smartservices.GetExternalPVsActivity - An error occurred while trying to retrieve the PVs of process with id 268530223: Could not find PV: reportSalvageStates
java.lang.IllegalArgumentException: Could not find PV: reportSalvageStates
- When both Process ID and PV exist, we get: ERROR com.appiancorp.gpt.ttk.smartservices.GetExternalPVsActivity - An error occurred while trying to retrieve the PVs of process with id 268530223: null
java.lang.NullPointerException
It seems like something else is being incorrectly configured. Do you have any idea what might be wrong?
I can't understand why I'm getting the 'null
java.lang.NullPointerException'.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data