cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Finding Resulting Objects in Change Task using PersistenceHelper.manager.navigate

TWil24
5-Regular Member

Finding Resulting Objects in Change Task using PersistenceHelper.manager.navigate

Hi, looking at returning resulting objects from a change task using PersistenceHelper.manager.navigate(Persistable arg0, String arg1, Class arg2 ). 

 

I'm not sure what should I use for the String arg1 argument.

Hopefully it's possible to retrieve it with that api.

 

 

 

I would imagine it would look like PersistenceHelper.manager.navigate(<theChangeActivity>, ?, ChangeRecord2.class)

 

Just not sure what's the correct input there.

 
1 ACCEPTED SOLUTION

Accepted Solutions
RandyJones
17-Peridot
(To:TWil24)

Take a look at the java docs for ChangeHelper2.service.getChangeablesAfter(ChangeActivityIfc ca) and ChangeHelper2.service.getChangeablesAfter(ChangeActivityIfc ca, boolean onlyChangeables). These 2 helper methods do exactly what you are asking for.

View solution in original post

1 REPLY 1
RandyJones
17-Peridot
(To:TWil24)

Take a look at the java docs for ChangeHelper2.service.getChangeablesAfter(ChangeActivityIfc ca) and ChangeHelper2.service.getChangeablesAfter(ChangeActivityIfc ca, boolean onlyChangeables). These 2 helper methods do exactly what you are asking for.

View solution in original post

Announcements