Issue in approving through SDK when user is added from functional team

Hi Folks,

I have a pending change in which user is added from functional team. The added user can approve using web client but i cannot find a way to approve using Api.
If i set signOffForSelf to true, the exception states that the user is not valid approver or observer. If i set signOffForSelf to false, and pass the functional team object in the user groups collection, the exception states that the group is not valid approver or observer.

I believe there must be some way to approve using api in this case. What am i missing?
Please give you suggestions keeping in view that this issue is only applicable when user is added from functional teams.

Add Comment
2 Answer(s)

No one has ever handled job functions in sdk?

Agile User Answered on October 13, 2016.
Add Comment

In Agile the SDK can not add a user with Job function as approver. Oracle has an open bug for that and not sure if that is resolved in 935. So my assumption is you are facing the issue on a similar line wherein the approval not happening via SDK if that approver is having a job function tied to it.

For adding an approver with job function we had tried the coreservices route (Collaboration services) to add an approver to a change with Job function. So can you try to use Collaboration webservice instead of SDK. It may work. Give it a try..

Agile Angel Answered on October 13, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.