RemoveWorkData()
This code sample describes how to remove the Table Values data type from the specified workflow.
Function Boolean RemoveWorkData( \ Object prgCtx, \ WAPIWORK work, \ Dynamic data ) //Delete the Table Values data type. Boolean success = $WFMain.WAPIPkg.RemoveWorkDataPackage( \ work, 'TableValues' ) //Call the DeleteWorkData() script to delete the previous values //that may have been stored for the Table Values data type in the //database tables. if ( success ) .DeleteWorkData( prgCtx, data ) end return( success ) end