HCM P & F - Getting Step Object ID
I am creating a HCM process and form and using Ehp2. I need the step object id in the backend service. I created a field in the service with datatype ASR_GUID and the field name is STEP_OBJECT_GUID. I selected this field in the form scenario under the specified service.
But the value is not coming up. I have three scenario steps and in all these three steps, the field is empty when i check in case management. Have I to add this field in the SPECIAL FIELDS of the service.
I tried to add the process reference number in the service also similarly but the name is PROCESS_GUID with datatype ASR_REFERENCE_NUMBER. It is also coming empty. I selected the default value in the form field for these fields to point the generic service.
Christopher Solomon replied
Read the documentation for HCM P&F THOROUGHLY from help.sap.com.
Both fields you want are SPECIAL and you have to name them exactly. The framework will fill them in for you and you can reference them. Look for "PROCESS_REFERENCE_NUMBER" and "FORM_SCENARIO_STAGE" in the docs.
Do NOT worry over the GUID info of the actual CASE. You do not need that. With the two pieces of info above, you can do pretty much everything you need.