Dividing api from application resources on process instance