Skip to content
Snippets Groups Projects
Commit 592164e3 authored by Tobias Feldmann's avatar Tobias Feldmann
Browse files

more functions added to the workflowServiceTaskParams webservice

parent 7e262d6d
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,9 @@ function restget (pRequest)
.table();
return [
new Parameter("documentTemplateId", "Document template", Types.ENUM, _mapToItemArray(templates)),
new Parameter("recipientContactId", "Recipient", Types.ENUM)
new Parameter("recipientContactId", "Recipient", Types.STRING),
new Parameter("mailSubject", "Subject", Types.STRING),
new Parameter("senderName", "Sender username", Types.STRING),
];
},
SetAttribute_workflowService : function (pCurrentValues)
......@@ -99,13 +101,33 @@ function restget (pRequest)
// return {id : attribute["#UID"], name : attribute["#CONTENTTITLE"]};
// });
return [
new Parameter("attributeId", "Attribute", Types.ENUM)
new Parameter("attributeId", "Attribute", Types.STRING),
new Parameter("attributeName", "Attribute name", Types.STRING)
];
},
UpdateOffer_workflowService : function (pCurrentValues)
{
return [];
}
},
SetSalesprojectPhase_workflowService : function (pCurrentValues)
{
return [
new Parameter("salesprojectPhase", "Phase", Types.STRING)
];
},
CreateSalesprojectTouchpoint_workflowService : function (pCurrentValues)
{
return [
new Parameter("touchpointType", "Type", Types.STRING),
new Parameter("touchpointInfo", "Info", Types.STRING)
];
},
CreateSalesproject_workflowService : function (pCurrentValues)
{
return [
new Parameter("salesprojectName", "Name", Types.STRING)
];
}
};
var parameters;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment