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

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

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

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
Highlighted
Partner

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

 
Active Member

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

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);