Question
7
Replies
1288
Views
Virtusa
Posted: July 5, 2017
Last activity: July 6, 2017
Closed
Unable to execute an activity in an abstract class using pxExecuteAnActivity function
When I try to invoke an activity in an abstract class using a function it gives an exception, but when I use and activity in an concrete class it won't give an exception.Can we invoke and activity in an abstract class using the pxExecuteAnActivity function?
1. Work- ( abstract class ) where my activity is in
2 . Activity I am invoking from the function
3. Way how I defined work- class in pages and class tab and way of calling function in DT
4. Tracer output
Sameera,
1. Create a temp page of Work- class.
2. Call the pxExecuteAnActivity with parameter: primaryPage : <temp page>, activityName: <your activity>
Hope this change will solve the issue.