cancel
Showing results for 
Search instead for 
Did you mean: 

WF Deadline Latest End Change

Former Member
0 Kudos

Hi Experts,

We have WF with multiple approval and then at the end again it will go to Initiator where we have deadline (LATESTEND).

By mistake I gave Refer.date/time as Workflow creation (but it should be Work Item creation).

Is there any way I can change this to Work item creation for the wf  which are already initiated ?

More than 20 WF started and multiple user approved.so don’t want to restart the WF ‘s again

Thanks,

KP

View Entire Topic
ronen_weisz
Active Contributor
0 Kudos

The workflow template of a specific workflow instance, once started, can not be changed.

However, if you can catch the workitem after creation and before the deadline is reached, you can manually change the deadline of every workitem (from the log goto->tech disp->edit->change and change the deadline)

Former Member
0 Kudos

hi Ronen,

I don't know when tat Workitem item is created and also after 3 min  it reaching the deadline.

So is there anyway tat i can some info when the WI created?

OR any other alternate way...

Thanks,

KP.

Former Member
0 Kudos

I don't see any easy solution for your problem. As Ronen said, you can manually change the deadline, but only after the work item has been created, so basically that leaves you the ~3 minutes. And there isn't some kind of alert which you could use to get the info when WI is created (and even if there was, you would have only those 3 minutes to react.)

Basically you could do some tricks with the background job SWWDHEX that is responsible of checking the deadlines every three minutes (and then you could do some manual monitoring & deadline changes for the WIs), but you should be VERY careful if you choose this road, since this will have an effect for all workflows. Most probably the time and effort for this will be bigger than just restarting the workflows.

Regards,

Karri

Former Member
0 Kudos

Hi Karri,

Changing the data in WF runtime table will efffect this??

Thanks,

KP

Former Member
0 Kudos

Change what data? Did you find a table where the "data" is stored?

I've never done deep digging into this topic, but I assume that the deadline is set to the "runtime table" at the moment when the work item is created (especially in your case in which the deadline is set based on the work item creation and not for example based on a container element value). => You will have 3 minutes to change the data.

Regards,

Karri

former_member185167
Active Contributor
0 Kudos

Hello,

You could schedule a report to run every 3 mins (1 minute after the deadline job runs) which could warn you of a workitem that has just been created for the relevant task, via email. When you get the email, quickly get in and change the deadline manually via SWIA. To make it a bit easier you could reschedule the deadline job to run every 5 mins or 10 mins, temporarily.

regards

Rick Bakker

Former Member
0 Kudos

hi Karri,

i got 1 table where the runtime data of the WF is saving :- SWD_STEPS.in our quality system i chnage the fieldvalue(LATE_END_B) to WFS to WSI. but still this not working.

Former Member
0 Kudos

hi Rick,

Do we have any standard report or we have to create a costume one?

Thanks,

KP

Former Member
0 Kudos

I don't know which field you should possibly change to make needed changes. And even if you manage to find certain field, I would very very careful to start changing standard table field values in production system. The correct way to change the deadline is either through the admin tools (as described earlier in this thread) or possibly some standard function/API (if you manage to find one, see SAP_WAPI* functions).

Regards,

Karri