cancel
Showing results for 
Search instead for 
Did you mean: 

Need details about ODATA API to 'Add goal' to an existing Performance form

DEX_Ramesh_Dev
Discoverer
0 Kudos

Hi Team,

We are trying to figure out ODATA API to 'Add Goal' ( from an existing goal plan/ new goal) to the performance forms.

Please find the attachment for corresponding UI element for the same functionality. 'Add Goal' button highlighted in yellow, which allows user to add goals immediately to Goal plan and performance form.

UI_Screenshot.PNG

 

 

 

 

 

 

We tried to achieve this through ODATA API as below to add goal to existing performance form.

Here "itemId": "4125" is a goal Id in the corresponding Goal plan but not listed in the performance form.

 

Add_Goal_ODATA.PNG

Can you please help with the proper ODATA API payload to achieve this functionality. 

OData SAP SuccessFactors Performance & Goals API Management API Mobile Application Integration Framework 

Thanks.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

pboulicaut
Participant
0 Kudos

A form have a section

- goal 

or

- development 

with a goal template configured to it.

when you add a goal

- by Ui

- by import

- by api

you are adding a goal in the goal plan

the fact that the goal is synchronized with the form section will depend of the autosync value configured in the form.

more info : https://userapps.support.sap.com/sap/support/knowledge/en/2076599

 

if autosync is wrongly configured in the form goal created will never appear in the form.

 

DEX_Ramesh_Dev
Discoverer
0 Kudos

But in UI, there is a button in performance form to 'Add goal' manually (not with autosync) as shown in my screenshot. This adds goals to Goals as well performance form.

If we had to add goals to performance form via Goal_Template ODATA APIs, there should be a key/attribute to be sent in payload of create goal ODATA API to differentiate if we are intending goal for goal plan only or to both goal plan and performance form. 

Assuming above, we looking for some attribute in Goal ODATA API to achieve same via ODATA API.

Any inputs will be appreciated.