Hello everyone,
I am in the process of deploying a product in Angular Web on OneIM version 9.2 that uses the new request properties.
These are also displayed as desired.
Now I am in the process of adapting the valuation scripts and validation scripts.
I would like to automatically fill the parameter “UID_PersonHead” with the currently logged in user.
I have tried various options, but unfortunately none of them work.
Current configuration of the parameter:
- General:
- Parameter name: UID_PersonHead
- Parameter type: Calculated
- Mandatory: Yes
- Show und parameter subsets: Yes
- Can be overwritten: Yes
- Value definition:
- Data type: String
- Data Source: Table
- Table column Person.UID_Person
- Condition:
EmployeeType = 'Employee'
- Value calculation
- Table column: Person.UID_Person
- Condition: empty
- Valuation script:
Value = "b6907ec7-c32a-4ff7-b5e0-3c26fabeda50"
The changes have been saved, the database has been compiled.
When I order the product in the IT shop, the “Request Details” window opens. Unfortunately, the value for “Manager” is not automatically pre-filled.
However, when I check the live log of the API server, I see that the value is determined correctly and is supposedly also saved.
Is there a configuration error here, or have I misunderstood how the “Valuation script” works?
Thank you very much
Sebastian