cancel
Showing results for 
Search instead for 
Did you mean: 

How to Default the task quick create due date field value to 2days more than the start date.

former_member221072
Participant
0 Kudos

Hello All,

Can anyone know how to default the Due date field of the ActivitTask to 2days more than the start date while creating the task using quick create.

As of now its defaulting the start date and due date to current date while opening quick create task page.

I Checked it in the fine tuning, but i did't not find the solution.Is there any way to do it from the event handlers(Script Files) of task extension.??

let me know the possible way to do this?

I wanted to default the due date of task to 2days more than the start date, while creating the task using Quick Create

Thanks,

Mani

Accepted Solutions (1)

Accepted Solutions (1)

Jens-Limbach
Advisor
Advisor
0 Kudos

Hi Mani,

the end date can be used in scripting using the below element of the business object ActivityTask. The only problem might be that you cannot default on loading but only on saving.

Sorry, don't have time for a detailed solution

Screenshot of element in Repository Explorer:

Cheers,
Jens

former_member221072
Participant
0 Kudos

Hi Jens,

Thanks for the response.!

Yes , I agree with you that i can set the task due date to some other date through scripting in the on save event . But as of now the due date is automatically defaulting to current date in the quick create, this will show inconsistency to the user.

I wanted to default due date while creating the task..!!i.e while loading the quick create..!

lets see any other possible ways..!

Thanks,

Mani

Jens-Limbach
Advisor
Advisor
0 Kudos

Hi Mani,

then the only way that I know is to have an embedded component that can trigger some coding when being loaded (via the inport).

Please refer to Vinods and my explanation here:

Cheers,

Jens

former_member221072
Participant
0 Kudos

Hi Jens,

Once again thanks for the reply.!

i have already included an EC in the task quick create but this quick create does't have public outport like Thing Inspector(TI) to trigger my EC import and to call my actions.

Anyhow, Now i got an idea after reading the explanations.

I will implement that and will post the result..!!

Thanks,

Mani

Former Member
0 Kudos

I Know you can do a before modify ABSL script on the BO to do this simple workflow (setting fields to a specific value based on a condition -> if due date is blank then set the due date +2 of the start date).

Former Member
0 Kudos

Hi Mani,

unfortunately it is true: the QC have not a public outport like the TI.

So, for me you have only the option to check if the after-modify is called when the QC start (for some objects this is true)

former_member221072
Participant
0 Kudos

Hi Allessandro,

Yeah, its triggering the after modify of task QC while loading.

this issue is resolved ..!

Thanks,

Mani

Answers (0)