Need to populate custom table field with RITM number

Sharath807
Tera Contributor

Hi friends, iam working on a task in which i attach an excel sheet containing records in a catalog item , when i sumbit that catalog item ,records from excel gets populated in custom table. This is done by copying attachement from sc_req_item to datasource followed by transform map  its working fine. Now the issue is the custom table contains one field called Ritm number, the field should be populated with the ritm number of reqseted item when ever records is created using the catalog item. How can i achieve this. help me

17 REPLIES 17

Looks good. Since you have included the sys_id of the RITM in the attachment name, you don't need a custom table to store the mappings. Once thing I don't quite understand is the purpose of gs.sleep()

@Slava Savitsky  yes just wait condition. but i removed that.
Somehow still the data is not populating in target table field . 

You need to do some troubleshooting to figure out what is causing the issue. Try removing (or commenting out) different parts of your script, to test each code block independently.