[
https://issues.apache.org/jira/browse/INLONG-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385482#comment-17385482
]
healchow edited comment on INLONG-777 at 7/22/21, 1:12 PM:
-----------------------------------------------------------
The reason for this problem is that there is no approver in the database.
To solve the problem, we need to create 2 records in the database through the
following SQL script:
{code:java}
INSERT INTO `wf_approver`(`process_name`, `task_name`, `filter_key`,
`filter_value`, `approvers`,
`creator`, `modifier`, `create_time`, `modify_time`,
`is_deleted`)
VALUES ('NEW_CONSUMPTION_WORKFLOW', 'ut_admin', 'DEFAULT', NULL, 'admin',
'inlong_init', 'inlong_init', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, 0),
('NEW_BUSINESS_WORKFLOW', 'ut_admin', 'DEFAULT', NULL, 'admin',
'inlong_init', 'inlong_init', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP,
0);{code}
was (Author: healchow):
The reason for this problem is that there is no approver in the database.
To solve the problem, we need to create 2 records in the database through the
following SQL script:
{code:java}
NSERT INTO `wf_approver`(`process_name`, `task_name`, `filter_key`,
`filter_value`, `approvers`,
`creator`, `modifier`, `create_time`, `modify_time`,
`is_deleted`)
VALUES ('NEW_CONSUMPTION_WORKFLOW', 'ut_admin', 'DEFAULT', NULL, 'admin',
'inlong_init', 'inlong_init', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, 0),
('NEW_BUSINESS_WORKFLOW', 'ut_admin', 'DEFAULT', NULL, 'admin',
'inlong_init', 'inlong_init', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP,
0);{code}
> InLong Manager new data stream error
> ------------------------------------
>
> Key: INLONG-777
> URL: https://issues.apache.org/jira/browse/INLONG-777
> Project: Apache InLong
> Issue Type: Bug
> Components: inlong-manager
> Reporter: Bowen Li
> Priority: Major
> Attachments: image-2021-07-22-01-30-11-176.png,
> image-2021-07-22-01-31-58-162.png, image-2021-07-22-01-32-59-341.png
>
>
> When I clicked the "submit for approval" when new a data stream, got a error
> with "can't assign approvers for task :System Administrator".
> !image-2021-07-22-01-30-11-176.png!
> The business can be seen here, in the state of "waiting for approval"
> !image-2021-07-22-01-31-58-162.png!
> But it can't be seen in the list of "waiting for approval" here, so I don't
> know how to approve it.
> !image-2021-07-22-01-32-59-341.png!
> Is there any help?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)