on 09-28-2023 7:09 AM
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.
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.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.