Incorrect mode exception in Work- performPreProcessing activity
Incorrect mode exception occurs in the Work- performPreProcessing activity.
The property pyDeferErrors was of mode Page while the method on stack . was expecting String mode. Details: (none)
Steps to Reproduce
- Configure a data page to obtain the results of a work page type which does not have pxFlow entries.
- Configure this as the source to a grid.
- In the last column of the grid, configure a button.
- On click of the button, launch the flow action.
Step 9 of the Work-PerformPreProcessing activity obtains the pxFlow entry if it exists. If the pxFlow entry is absent, then the activity creates a new entry. Here, the source data page is read-only. Hence, the entry is not created and the logic to fetch the properties in the pxFlow caused the issue.
Perform the following local-change:
Modify the data page mode to editable since it is in the thread scope such that the Work-.performPreProcessing activity creates and processes dummy pxFlow entries.
0% found this useful