- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 10:14 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 10:29 PM
Hi @SIVAKARTHICS ,
looks like you are mapping variables with wrong field names
current.leave_type = producer.type_of_leave;
current.start_date = producer.start_date;
current.end_date = producer.end_date;
current.reason = producer.reason;
current.status = 'Pending';
prefix "u_" is not there in the table fields as per you table
and you don't need script for this you can directly map the fields in the variable it self
open the respective variable and check map to field and select the field
and make sure the variable backend name is same as table field's backend name
you can use the script too but with this you don't have to write script
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 10:29 PM
Hi @SIVAKARTHICS ,
looks like you are mapping variables with wrong field names
current.leave_type = producer.type_of_leave;
current.start_date = producer.start_date;
current.end_date = producer.end_date;
current.reason = producer.reason;
current.status = 'Pending';
prefix "u_" is not there in the table fields as per you table
and you don't need script for this you can directly map the fields in the variable it self
open the respective variable and check map to field and select the field
and make sure the variable backend name is same as table field's backend name
you can use the script too but with this you don't have to write script
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
