+1 vote
in Javascript API by (16.1k 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())


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 209 views
0 votes
1 answer 100 views
+1 vote
1 answer 161 views
+1 vote
0 answers 52 views
+1 vote
2 answers 1.5k views
+1 vote
8 answers 1.7k views
asked Jun 11, 2018 in BPD by anonymous
0 votes
1 answer 139 views
0 votes
1 answer 160 views
0 votes
0 answers 11 views
asked Mar 30 in BPD by Anil Singh (16.1k points)
0 votes
1 answer 211 views

580 questions

482 answers


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