cancel
Showing results for 
Search instead for 
Did you mean: 

C4C Cloud Application Studio Create a Service technician Assignment for a ticket

bodo_koerner
Participant
0 Kudos

Hello,
from a custom BO webservice I receive the UUID of a Service ticket and an assignet technician id and assignment date. From this I want to create an assignment by absl, so that the technician sees the appointment in his calendar.

How can this be solved by ABSL (i.e. Event before save).

Accepted Solutions (1)

Accepted Solutions (1)

bodo_koerner
Participant
0 Kudos

Thanks that works. And in addition an Assignment Task has thew TypeCode 2215.

Answers (1)

Answers (1)

bodo_koerner
Participant
0 Kudos

Found that I can create an Activity. But it's created without relation to my ServiceTicket-Item.

How can this be done ?

Example:

//Activity: Root node var elActivityRoot : elementsof Activity; var instActivity; // Activity: define party node var elActivityParty : elementsof Activity.Party; var instParty; // Activity: define text collection var elActivityTxtCollTxt : elementsof Activity.TextCollection.Text; var elActivityTxtCollTxtCntnt : elementsof Activity.TextCollection.Text.TextContent; var instActivityTxtColl; var instActivityTxtCollTxt; // Activity: define attachment folder var elActivityAttachmDoc : elementsof Activity.AttachmentFolder.Document; var instActivityAttachm; // Activity: maintain Business Object type - mandatory (12 = Appointment; 39 = Email; 86 = Phonecall; 542 = Task) elActivityRoot.TypeCode = "542"; // create Task //elActivityRoot.GroupCode.content = "0027"; //only for 12 Visit // Activity: maintain description - mandatory elActivityRoot.SubjectName = this.Infotext; // Activity: create new instance instActivity = Activity.Create(elActivityRoot);

0 Kudos

Hi Bodo

The "BusinessTransactionDocumentReference" node in any object enables references to other objects. you can assign the parent document to this node. Assign respective values to the below fields.

BusinessTransactionDocumentReference.ID.content
BusinessTransactionDocumentReference.TypeCode
BusinessTransactionDocumentRelationshipRoleCode

Regards

Praveen