Client cannot send Process handles to Server
I have a client designed,where i need to send IProcessArea information to Service which is REST Service,
I could store the values in IParameterWrapper instance. I had 2 fields in the instance one is ITeamAreaHandle and another is String. When i sent the value to server. I could get the serialized values , but i could not get reference of ITeamAreaHandle, that was null. When i tried another option, to send UUID of process area, that is also not serialized. So Please advice. How i can send process area info to server. |
3 answers
I have a client designed,where i need to send IProcessArea information IParameterWrapper supports only primitive types and arrays thereof, so you have to send the UUID as a string: teamAreaHandle.getItemId().getUuidValue() (I assume you are using the ITeamModelledRestService from both Java and JS/Web? If you only have a Java client, a regular service might be the better option) -- Regards, Patrick Jazz Work Item Team |
I have a client designed,where i need to send IProcessArea information IParameterWrapper supports only primitive types and arrays thereof, so you have to send the UUID as a string: teamAreaHandle.getItemId().getUuidValue() (I assume you are using the ITeamModelledRestService from both Java and JS/Web? If you only have a Java client, a regular service might be the better option) -- Regards, Patrick Jazz Work Item Team Hi Thanks for your reply, i could now pass uuid value and re generate a uui at server, but using the uuid , how to get the process handle like team area handle or project area handle |
Thanks for your reply, i could now pass uuid value and re generate a You can use ITeamAreaHandle handle= (ITeamAreaHandle) ITeamArea.ITEM_TYPE.createItemHandle(uuid, null); Analogous for other item types. -- Regards, Patrick Jazz Work Item Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.