Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Unable to attachFiles to the task through CSSDK
Migrateduser
Hello,
I am writing a class in CSSDK for attaching the selected files to the workflow.
CSTask task = wfEngine.getTask(Integer.parseInt("Tasknumber");
String workarea=task.getArea().getVPath().getPathNoServer ().toString();
CSAreaRelativePath areaPath = new CSAreaRelativePath("default/main/..");
paths[0]= areaPath ;
CSPathStatus[] status ;
status = task.attachFiles( paths);
Tasknumber is the tasknumber for my existing workflow.
It does not attach the required files to the specified task.I tried to print the areaRelative path by vpath.getAreaRelativePath()) which gives a blank.
Any idea why this must be happening.
Find more posts tagged with
Comments
There are no comments yet