Production Issue: Drop ship order line workflow issue

本文讨论了一起废弃工作流导致的订单处理问题。在dropship订单中,由于标准的清理和归档程序错误地清除了保留订单,使得这些订单被不当处理并完成结账流程。文章深入探讨了工作流系统的缺陷,并揭示了故障诊断过程中的关键挑战。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 Recently I closed a case of troubleshooting work flow issue in a drop ship order line. The order went through an obsolete workflow and get invoiced and closed while some holds exist, which is absolutely impossible.

 

In wf_activity_status WF_ITEM_ACTIVITY_STATUSES, the 'eligiblity' is in 'COMPLETE' status while it should return on_hold. after checking the hold table, the exact hold is there. Later, we found out it's the standard purge and archive program that purge the holds but restored holds 6 hours later. It's just in this 6 hours, these Drop ship orders got processed and workflow got pushed forward. The trap in the  troubleshooting is the wf_item_activity_stauses table, the wf engine always update the last 'eligibility' activity and records the latest timestamp , thus it's difficult to know whether it's triggered hundreds of times in the past and completed at last.

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值