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
4194 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
0
pedrogavinhos
over 9 years ago
I've been trying to use this plug-in in version 7.4, and apparently it doesn't seem to work correctly.
Accessing the logs, I can see the following error: 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.
I noticed the Compatible Appian Versions for this plug-in are not described in its page. Are we sure this works with older versions such as 7.4?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Yes it does. The plugin is really old that is compatible with basically any version from 6.0.3 to 7.9
If you have a 7.9 take a look at my application or video to learn how to use it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
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
0
Eduardo Fuentes
Appian Employee
over 9 years ago
If you look at the video and the documentation of the plug-in the node inputs have to be called:
pvValue1
pvValue2
....
your is called var1, that's wrong
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<