From my visual flow, I need to approve a record that's in the pending stage of an approval process. I've been able to get as far as creating a flow that gets the pending ProcessInstance of the record in need of approval. What's the next step? Should I Fast Create a ProcessInstance record with an Approved status and a related ProcessWorkItem record?


Did you try "Submit for Approval" option under Static Actions ?

enter image description here

  • The challenge is not submitting the record for approval, it's approving a record that's already been submitted for approval.
    – SF1Dev
    Nov 12 '15 at 17:47
  • @SF1Dev: how did u sort this out? did u write trigger ?
    – user10727
    Jun 17 '16 at 10:13
  • I'm sorry but I cannot recall and I no longer have access to that org to take a look. I do recall though that I ended up not using visual flow for the approval.
    – SF1Dev
    Jun 17 '16 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.