简体   繁体   English

限制用户手动选择业务流程阶段

[英]Restrict user to select business process flow stage manually

I am trying to restrict user from manually selecting the business process stage.我试图限制用户手动选择业务流程阶段。

I have already hidden all buttons (Next Stage, Finish, Previous Stage etc), using following,我已经使用以下方法隐藏了所有按钮(下一阶段、完成、上一阶段等),

document.getElementById("processActionsContainer");

Now I also want to restrict manual selection of stages of BPF.现在我还想限制手动选择 BPF 的阶段。 How can I achieve that?我怎样才能做到这一点?

This is not how you restrict buttons in Dynamics.这不是您在 Dynamics 中限制按钮的方式。 In fact document.getElementById is not allowed in dynamics itself.实际上,动态本身不允许使用document.getElementById It is deprecated.它已被弃用。

The way you are trying to limit stage change is not possible.您试图限制阶段变化的方式是不可能的。

But the alternate way to achieve this is with Workflow.但是实现这一目标的另一种方法是使用工作流。 For a Process to move from A to B will only happen when some fields are fields or some data is entered or some condition is matched.仅当某些字段是字段或输入某些数据或匹配某些条件时,流程才会从 A 移动到 B。 Have a look at these articles which will give you more idea to perform your task.看看这些文章,它们会给你更多的想法来执行你的任务。

Link 1 链接 1

Link 2 链接 2

Link 3 链接 3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Business Process Flow Next Stage 按钮触发电源自动化流程 - Trigger power automate flow with Business Process Flow Next Stage button 当在Dynamic 365 Online中触发OnStageChange事件时,如何确定用户是转到业务流程的下一阶段还是上一步? - How can I tell if user is moving to next or previous stage of business process flow when OnStageChange event is fired in Dynamic 365 Online? 使用客户端脚本在Dynamics CRM中的Opportunity上设置业务流程阶段 - Use client-side script to set Business Process Flow Stage on Opportunity in Dynamics CRM 在业务流程中设置自定义警告消息 - Set custom warning message in business process flow 业务流程流OptionSetValue步骤上的过滤选项 - Filtering options on Business Process flow OptionSetValue step 更新Dynamics CRM项目中特定于业务流程的详细信息 - Update Business Process Flow specific details in Dynamics CRM project Dynamics 365 WebAPI 获取业务流程阶段 - Dynamics 365 WebAPI getting Business Process Flow stages CRM 2013:使用Javascript进行业务流程的确认框 - CRM 2013: Confirmation box on business process flow using Javascript 通过javascript在汇总1后损坏的业务流程动态更新 - Business process flow dynamic update via javascript broken after rollup 1 如何限制用户在日期字段中手动输入日期 - How to restrict user to enter date manually in date field
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM