How to add procActors when i have More than one role?

企业微信截图_20180508172829
this is my code,but throw a Exception
企业微信截图_20180508173617

Try to commit your procActors and procInstance in the same transaction / commit ProcInstance before ProcActors