Req: in our project we got one entity using state model and click on a button i want to update the status to A to B . but B is not part of the state model . in script if i tired to change it ,it will throw error saying restricted status change because B is not part of the state model .
Guys! which is the best way to achieve this .
One way is create a dummy BC for that entity and change the status in script using it .
is there any other approach
thanks and regards
Joseph thomas (Joju)
Try changing A -> C -> B.
ReplyDeleteIf you don't wanna go with the State model, why have it in the first place ?
Also, try adding that state to the state model, and hiding it to the users on the basis of Responsibility or something.
Your solution is also good.
Cheers..
Nitin Jain
thanks Nithin for the info
ReplyDeleteJoseph
create a new field in BC and map to the same column of status field, the newly created field can be used in scripting or workflow to update the status.
ReplyDelete--Karthik Chatakondu
If the field in question should trigger integration events, or if changes should be logged in the Audit Trail, then these solutions will not work.
ReplyDelete