amazon swf - Execute Activity after the completion of all the activity -


I have an activity (say actN) which depends on the number of n activities All N activities are executed in parallel. After completing all the activities, I want to execute the activity actN I want to do this without using any @ asynchronous annotation because @ asynchronous tag is not working for me

  public Promises & lt; Integer & gt; ExecuteLastactivity (list & lt; promise & lt; integer & gt; & gt; prm) {// TODO}  

archive should be annotated with any extended parameter. This is necessary because the flow framework depends on Java reflection to determine how the logic is but the Java does not expose the normal type through reflection.

Then your signature should look like this:

  @Asynchronous Public Promises & lt; Integer & gt; ExecuteLastactivity (Waiting list & lt; promise  gt; & gt; prm) {// TODO}  

Comments