I had to redesign my workflow to add Pending to my outcome task. I added a state machine with two states, approval and pending
under state machine I have assign flexi task and the out comes are approved/declined/pending
under pending I have change state and I move to Pending state
then I have a wait action for a day and I change state to go to approval state and send out the flexi task again
It doesn't work the workflow doesn't trigger the flexi task under state machine, any idea why?