Service Activity Tasks Not Getting Created

dbelle
Kilo Contributor

Hello, I'll try to lay out our scenario as best that I can.

We have a HR Service with a fulfillment type of Service Activity.
The first service activity is an approval, the second service activity is an HR task, order is set as 1 for the approval and 2 for the HR task.

When someone on our HR Services team creates a case using this service, they sometimes create an extra HR task before they set it to Work in Progress.

When the case is set to Work in Progress, the approval service activity is successfully created and the case is moved to Waiting for Approval state.

When the approval record is set to Approved, the second service activity of creating an HR task should happen next.  This doesn't happen because there was that "extra" task created earlier.  As soon as that "extra" task is completed, then the HR task from the service activity is created.  

In SN docs, it states that "The current service activity must be closed, completed, accepted, or rejected before the next service activity is made available."  So the system seems to be treating the "extra" task as part of the service activities, even though it's not.  

1. Service Activity Approval (successful)
2. Extra task (preventing #3 from being created, until this record is closed)
3. Service Activity Task (is dependent on #2 being closed before being created)

I hope that story makes sense!  I'm wondering if anyone has run into this before, and if they had, if they were able to work around it.

10 REPLIES 10

Abhishek Jain2
Kilo Contributor

from #2, can you tigger an event to have a task created so that manual task does not fall under activities. and #3, can still be executed as expected.