+1 vote
342 views
in Javascript API by (16k points)

1 Answer

0 votes
by (540 points)

You should always use the valueAt when getting data from an EPV.

tw.local.myString = tw.epv.myString.valueAt(new TWDate())

or

tw.local.myInteger = Number(tw.epv.myEpv.myInteger.valueAt(new TWDate())

by (700 points)
when we define an EPV, internally it will be treated as an object and it gets persisted in the process DB.  Wherever EPV is getting utilized and the corresponding value that you are expecting requires a typecasting.

tw.local.someString = ""+tw.epv.definedEPV.variabledefinedInEPV.

Related questions

0 votes
1 answer 196 views
0 votes
1 answer 89 views
+1 vote
1 answer 156 views
+1 vote
0 answers 43 views
+1 vote
2 answers 1.4k views
+1 vote
8 answers 1.5k views
asked Jun 11, 2018 in BPD by anonymous
0 votes
1 answer 105 views
0 votes
1 answer 143 views
0 votes
0 answers 9 views
asked Mar 30 in BPD by Anil Singh (16k points)
0 votes
1 answer 169 views

580 questions

482 answers

85 comments

1.7k users

Dosvak IBM BPM /BAW Products, Download Evaluation
Process & Performance Tools Process & Performance Tools
Code Analyzer Code Analyzer
UI Toolkit UI Toolkit
Integration Monitoring Integration Monitoring
Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...