I have one data type called TGB-HRApps-Data-Seating, there I have created one activity which change value of record based on the field.
Now I have to call this activity from work class (TGB-HRApps-Work-Onboarding) in Flow Action post processing. When I try to find this activity in post processing then I can't see this, I can only see all the activities from TGB-HRApps-Work-Onboarding class and it's parent class but not from TGB-HRApps-Data-Seating class.
Create a wrapper activity in the Work layer and from there refer your activity on the relevant page which is of the required data class. Refer this wrapper activity in the flow action. By default you will see all activities which are in the inheritance class of the flow action. In Flow action, you can give different page context for Section but not for Activity / Data Transform.
Option 2 -
Move the required Activity (also properties if required) from your data class 'TGB-HRApps-Data-Seating' to 'TGB-HRApps' and it will be visible and work in the flow action.
I created one activity in Work class and there in first step i used Page-New method and gave Data class as a step page then on next step I call my Data class activity. On last step I deleted temp page which I created in first step.