开发者

Synonym for ApprovalWorkflow

开发者 https://www.devze.com 2023-03-01 01:53 出处:网络
We have an abstract workflow class that is called ApprovalWorkflow the thing is it can hold both a开发者_开发问答n approve, reject and input state. Its slightly misleading to call it ApprovalWorkflow

We have an abstract workflow class that is called ApprovalWorkflow the thing is it can hold both a开发者_开发问答n approve, reject and input state. Its slightly misleading to call it ApprovalWorkflow but I cant be sure of what the right term is.

Does anyone know of a better term to call ApprovalWorkflow as it can Authorize and Reject?


I don't see a problem. Authorization can have two outcomes, Authorized and NotAuthorized = Rejected. That's the entire point of it, in fact.

I'm more worried about the input state part. That sounds like {True, False, FileNotFound}

0

精彩评论

暂无评论...
验证码 换一张
取 消