Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
9 replies
Answers
1 answer
Subscribers
6 subscribers
Views
9489 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi, I'm trying to use the Set External PVs Activity smart service. Ther
siddharthg521
over 11 years ago
Hi,
I'm trying to use the Set External PVs Activity smart service. There is the process variable(boolean) which is set to false in 50 instances. Now I want to set the value of that process variable to 'true' in all those 50 instances. I'm trying to do so using this smart service. However its not working and null pointer exception is thrown. Can anybody tell me what value shall be provided in Operations and Target PVNames in the Input tab of this smart service?
Thanks in advance!...
OriginalPostID-69088
OriginalPostID-69088
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 11 years ago
There's a document with instructions in the ZIP of the component available for download here in Appian Forum under the "Shared Components" section (
forum.appian.com/.../components)-
Smart Services - View All Smart Services
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
siddharthg521
over 11 years ago
Yes, I have visited that ZIPPED folder.However the snapshot of the data tab of this smart service does not match with the actual data tab of Set External PV Activity smart service. Any thoughts?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
akhileshn
over 11 years ago
Are you using "pvValue1" as input name ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Yes, the screenshots are old but the principle is the same. You create one input per variable to modify (per item in the targetPvNames input), each input has to be named pvValue1, pvValue2, etc, and it has to be of the same type as the target variable
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
Here is a screenshot for your reference:
forum.appian.com/.../84265
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
akhilan
over 11 years ago
Please look at the document pointed out to by Eduardo. The screenshot does not match to what is currently there in the smart service. But, there are instructions given below the screenshot for each of the Inputs. The most important of all is there should be one pvValueX defined as a custom input per PV targeted. Also, make sure you have set up the operations as in the document.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
siddharthg521
over 11 years ago
Thankyou akhilesh & eduado! The snapshot was really helpful! Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
baskare
over 7 years ago
Hi ,
We are using set External PV smart service to cancel the main process from a sub process by setting isCancelled flag and main processid. we are now moving the code to cloud environment , where this plugin is not supported as it is depreciated, can some one please suggest any alternate solution to achieve this.
Thanks in advance :-)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 7 years ago
in reply to
baskare
You can use messages instead. Check
docs.appian.com/.../Send_Message_Event.html
and
docs.appian.com/.../Receive_Message_Event.html
.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel