Hi All,
My requirement is, to send the list of attribute values related to that Problem report to users through Workflow message.
we are using OOTB problem report Workflow.
1. created variables like name, category
2. add below code to expression robot in workflow,
wt.change2.WTChangeIssue thisPR = (wt.change2.WTChangeIssue) primaryBusinessObject;
java.util.Locale locale = wt.session.SessionHelper.getLocale();
com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(thisPR,null,locale,null);
obj.load("name","number","description","Category");
Object nameValue = obj.get("name");
Object numberValue = obj.get("number");
Object descriptionValue = obj.get("description");
Object CategoryValue = obj.get("Category");
name = nameValue.toString();
number = numberValue.toString();
description = descriptionValue.toString();
category = CategoryValue.toString();
=======================
when i try to compile it, facing issue, as shown in image,
the mentioned class is not present at that location, but i think this is stranded class which comes with OOTB windchill installation.
here is my workflow, please check it let me help.
any kind of help will be grate.