Using Constellation 24.1. I have a datatype ABC-AppName-Data-ActivityLog. There is a savable data page for this datatype and I have made it the default savable DP in the datatype settings. This savable DP is using the Database Save option and I have created DT to handle getting data from case to add to the ActivityLog record. I have sourced a table on the Interaction case using List DP for same datatype. I have configured the Add (Create) option for this table. When I execute the add on the table, the Create UI is displayed and I fill in all the values and submit. The submit is successful - a new ActivityLog is created. However, the reference to pyWorkPage in the DT for the Database Save operation is not getting the value I need from the case. If I hardcode a value in the DT, this is working. I cannot seem to reference the work page. How to get value from work page to datatype using the OOTB add method?
It’s possible that the pyWorkPage context is either lost or unavailable during the execution of the data transform save. Could you please provide screenshots or where exactly the Data transform is triggered (Class layer)? Tracer could help here for a great extent if the pyWorkPage is available.
@RameshSangili , thanks for the reply.
Work class layer is THG-CLPOC-Work-CustSvc-Interaction
Here is the Save option on the Savable DP:
Here is the DT:
The record is getting created via the below Service REST. I have tried tracing but do not see DP or DT in the trace results.
![]()
Since the DX API is stateless, references to the pWorkPage will not work.
One possible approach to consider is updating the data record during post-processing. This gives more flexibility than OOTB Add record option.
Hi @DavidH85,
Instead of using pyWorkPage, use Primary in the data transform

