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
7 subscribers
Views
2508 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi Everyone, i need to save values directly to the process variable without usin
swathis
over 12 years ago
Hi Everyone, i need to save values directly to the process variable without using data tab.
On Button click I have written a javascript like Form window will close and userInput task is still active which means control is still on same node. Now my requirement is how to set PV value directly in this case...
OriginalPostID-60816
OriginalPostID-60816
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 12 years ago
Using JavaScript will prevent your forms yo be mobile enabled but if you still have to use this approach why don't you use JS to autosubmit the form instead of just closing the window?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakirk
over 12 years ago
Why dont you make the UI task as a Quick task? So each time you click the button the values will be saved to pv's from data tab and the node will in be active.
Hope this helps!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
swathis
over 12 years ago
@eduardo..if i am using JS to autosubmit, which mean my node will go out of control, which is not my requirement, i want to be on the same node as well i need to set form value to the PV's. is there any work around?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 12 years ago
You can use Ramesh's suggestion or auto-submit but connect the user input task to a blank script task and then the script task back to the original node.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakirk
over 12 years ago
Make your task as a Quick task and onClick of the button you can use autosubmit code. so that task will always be in active state.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel