cancel
Showing results for 
Search instead for 
Did you mean: 

How to get saved form data in java using APS API ?

dharmraj
Confirmed Champ
Confirmed Champ

I have tried formService.getTaskFormData()   and TaskService to fetch  saved form Data  .  Form not submitted .

I have  started Process  and filled ADF form Render in angular and  APS Default Save button clicked  to save  data .

now i have one custom api there i want to check saved form Data using formId or TasK id In java level

2 REPLIES 2

aelnattar-rl
Champ in-the-making
Champ in-the-making
 

ebrenessdev
Champ on-the-rise
Champ on-the-rise

Hello, use this service

@Autowired
private SavedFormRepository savedFormRepository;

it has 3 methods use can use

List<SavedForm> findByTaskIdOrderBySavedDateTimeDesc(String var1);

List<SavedForm> findByTaskIdAndFormIdOrderBySavedDateTimeDesc(String var1, Long var2);

long countByTaskIdAndFormId(String var1, Long var2);