Activity Mapping with Custom Script - does this ever work?

Daria6
Mega Sage

Hi all,

Has anyone gotten an activity mapping custom script to work? 

For example,

Mapping from lifecycle table using a custom script, mapping to HR task table rich description field.

Even a simple 

return "hello";

does not do anything. We tried with html tags, parent case values, everything... nothing shows up in the description.

3 REPLIES 3

juan9
Giga Guru

Hi Daria,

instead of making a new one, you might be able to see how an existing Activity Mapping with Custom Script work.

 

I would also add a lot of gs.error('msg') and see where the system is getting stuck.

so maybe some print statements in the Custom Script,

some print statements before the scripts trigger

some print statements after the script triggers

 

please mark this helpful if this troubleshooting has helped 

 

Hi,

Do you have an example of an existing activity mapping with custom script? I do not see any out of the box.

 

Edit: Putting log statements in the script also does not do anything.

Hi Daria,

Same issue.

Were you able to make custom script work?

Thanks